public_html/wp-content/plugins/wp-category-tag-could/classes/wp-category-tag-cloud.php
/**
		 * Checks if the plugin was recently updated and upgrades if necessary
		 *
		 * @mvc Controller
		 *
		 * @param string $db_version
		 */
Checks if the plugin was recently updated and upgrades if necessary
@mvc Controller


Checks if the plugin was recently updated and upgrades if necessary @mvc Controller
public function upgrade( $db_version = 0 ) {
			if ( version_compare( $this->modules['WPCTC_Settings']->settings['db-version'], self::VERSION, '==' ) ) {
				return;
			}
			foreach ( $this->modules as $module ) {
				$module->upgrade( $this->modules['WPCTC_Settings']->settings['db-version'] );
			}
			$this->modules['WPCTC_Settings']->settings = array( 'db-version' => self::VERSION );
			self::clear_caching_plugins();
		}
public function upgrade ( $ db_version = 0 ) { if ( version_compare ( $ this -> modules [ 'WPCTC_Settings' ] -> settings [ 'db-version' ] , self :: VERSION , '==' ) ) { return ; } foreach ( $ this -> modules as $ module ) { $ module -> upgrade ( $ this -> modules [ 'WPCTC_Settings' ] -> settings [ 'db-version' ] ) ; } $ this -> modules [ 'WPCTC_Settings' ] -> settings = array ( 'db-version' => self :: VERSION ) ; self :: clear_caching_plugins ( ) ; }
Checks if the plugin was recently updated and upgrades if necessary
 @mvc Controller
Checks if the plugin was recently updated and upgrades if necessary @mvc Controller