HOR-1726 remove comment

This commit is contained in:
Ronald Q
2016-08-29 11:08:27 -04:00
parent 6d4168c224
commit 8a779bf400

View File

@@ -62,79 +62,79 @@ class workspaceTools
*/ */
public function upgrade($first = false, $buildCacheView = false, $workSpace = SYS_SYS, $onedb = false, $lang = 'en') public function upgrade($first = false, $buildCacheView = false, $workSpace = SYS_SYS, $onedb = false, $lang = 'en')
{ {
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Updating database...\n"); CLI::logging("> Updating database...\n");
// $this->upgradeDatabase($onedb); $this->upgradeDatabase($onedb);
// $stop = microtime(true); $stop = microtime(true);
// CLI::logging("<*> Database Upgrade Process took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Database Upgrade Process took " . ($stop - $start) . " seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Check Intermediate Email Event...\n"); CLI::logging("> Check Intermediate Email Event...\n");
// $this->checkIntermediateEmailEvent(); $this->checkIntermediateEmailEvent();
// $stop = microtime(true); $stop = microtime(true);
// CLI::logging("<*> Database Upgrade Process took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Database Upgrade Process took " . ($stop - $start) . " seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Verify enterprise old...\n"); CLI::logging("> Verify enterprise old...\n");
// $this->verifyFilesOldEnterprise($workSpace); $this->verifyFilesOldEnterprise($workSpace);
// $stop = microtime(true); $stop = microtime(true);
// CLI::logging("<*> Verify took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Verify took " . ($stop - $start) . " seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Updating translations...\n"); CLI::logging("> Updating translations...\n");
// $this->upgradeTranslation($first); $this->upgradeTranslation($first);
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Updating Translations Process took $final seconds.\n"); CLI::logging("<*> Updating Translations Process took $final seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Updating Content...\n"); CLI::logging("> Updating Content...\n");
// $this->upgradeContent($workSpace); $this->upgradeContent($workSpace);
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Updating Content Process took $final seconds.\n"); CLI::logging("<*> Updating Content Process took $final seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Check Mafe Requirements...\n"); CLI::logging("> Check Mafe Requirements...\n");
// $this->checkMafeRequirements($workSpace, $lang); $this->checkMafeRequirements($workSpace, $lang);
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Check Mafe Requirements Process took $final seconds.\n"); CLI::logging("<*> Check Mafe Requirements Process took $final seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Updating cache view...\n"); CLI::logging("> Updating cache view...\n");
// $this->upgradeCacheView($buildCacheView, true, $lang); $this->upgradeCacheView($buildCacheView, true, $lang);
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Updating cache view Process took $final seconds.\n"); CLI::logging("<*> Updating cache view Process took $final seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Backup log files...\n"); CLI::logging("> Backup log files...\n");
// $this->backupLogFiles(); $this->backupLogFiles();
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Backup log files Process took $final seconds.\n"); CLI::logging("<*> Backup log files Process took $final seconds.\n");
//
// /*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Migrate new lists...\n"); CLI::logging("> Migrate new lists...\n");
// $this->migrateList($workSpace, false, $lang); $this->migrateList($workSpace, false, $lang);
// $stop = microtime(true); $stop = microtime(true);
// $final = $stop - $start; $final = $stop - $start;
// CLI::logging("<*> Migrate new lists Process took $final seconds.\n"); CLI::logging("<*> Migrate new lists Process took $final seconds.\n");
// /*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Updating Files Manager...\n"); CLI::logging("> Updating Files Manager...\n");
// $this->processFilesUpgrade(); $this->processFilesUpgrade();
// $stop = microtime(true); $stop = microtime(true);
// CLI::logging("<*> Updating Files Manager took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Updating Files Manager took " . ($stop - $start) . " seconds.\n");
//
// $start = microtime(true); $start = microtime(true);
// CLI::logging("> Optimizing content data...\n"); CLI::logging("> Optimizing content data...\n");
// $this->migrateContent($workSpace, $lang); $this->migrateContent($workSpace, $lang);
// $stop = microtime(true); $stop = microtime(true);
// CLI::logging("<*> Optimizing content data took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Optimizing content data took " . ($stop - $start) . " seconds.\n");
$start = microtime(true); $start = microtime(true);
CLI::logging("> Clean access and refresh tokens...\n"); CLI::logging("> Clean access and refresh tokens...\n");