Files
dostavka_vodi/wp-content/plugins/!robin-image-optimizer/migrations/010803.php
User A0264400 a766acdc90 first commit
2026-04-01 23:20:16 +03:00

28 lines
742 B
PHP

<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Updates for altering the table used to store statistics data.
* Adds new columns and renames existing ones in order to add support for the new social buttons.
*
*/
class WIOUpdate010803 extends Wbcr_Factory480_Update {
/**
* Handles the installation process for the plugin, including cleanup of
* old options and setting new configurations.
*
* @return void
*/
public function install() {
WRIO_Plugin::app()->updatePopulateOption( 'image_optimization_server', 'server_2' );
WRIO_Plugin::app()->updatePopulateOption( 'server_2_quota_limit', 1000 );
WRIO_Plugin::app()->logger->info( 'Plugin migration to 1.8.3 was successful!' );
}
}