public function run() { if (version_compare($this->from_version, '7.2.1', '>=')) { return; } require_once 'install/install_utils.php'; handleMissingSmtpServerSettingsNotifications(); }
installLog("Finished post-install hooks"); //Call rebuildSprites if (function_exists('imagecreatetruecolor')) { require_once 'modules/UpgradeWizard/uw_utils.php'; rebuildSprites(true); } if (count($bottle) > 0) { foreach ($bottle as $bottle_message) { $bottleMsg .= "{$bottle_message}\n"; } } else { $bottleMsg = $mod_strings['LBL_PERFORM_SUCCESS']; } installerHook('post_installModules'); installerHook('pre_handleMissingSmtpServerSettingsNotifications'); handleMissingSmtpServerSettingsNotifications(); installerHook('post_handleMissingSmtpServerSettingsNotifications'); // rebuild cache after all is said and done installLog("Populating file cache"); SugarAutoLoader::buildCache(); // Build the base platform metadata caches after everything else is done. installLog("Populating metadata cache"); MetaDataManager::enableCache(); $app_list_strings = return_app_list_strings_language('en_us'); MetaDataManager::setupMetadata(array('base'), array('en_us')); // TODO: Remove the following. (See MAR-1314) // Restore the activity stream behaviour. Activity::enable(); installerHook('post_performSetup'); $out = <<<EOQ <br><p><b>{$mod_strings['LBL_PERFORM_OUTRO_1']} {$setup_sugar_version} {$mod_strings['LBL_PERFORM_OUTRO_2']}</b></p>