/** * Install/upgrade required tables * * @todo Remove this. The new table(s) functionality has already been removed. * * @static */ static function install_or_upgrade() { $options = get_option(self::$options_name); if (get_option(self::$options_name . '_version') != LP_PLUGIN_VERSION) { Collaboration::install(); $postUpdater = new LivePress_Administration(); $postUpdater->merge_default_values(); update_option(self::$options_name . '_version', LP_PLUGIN_VERSION); } }