This commit is contained in:
Paula Quispe
2017-03-09 09:51:33 -04:00
parent de0b24fea2
commit 2b44d49d21

View File

@@ -153,6 +153,12 @@ class workspaceTools
$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);
CLI::logging("> Optimizing content data...\n");
$this->migrateContent($workSpace, $lang);
$stop = microtime(true);
CLI::logging("<*> Optimizing content data took " . ($stop - $start) . " seconds.\n");
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$start = microtime(true); $start = microtime(true);
CLI::logging("> Migrate new lists...\n"); CLI::logging("> Migrate new lists...\n");
@@ -168,12 +174,6 @@ class workspaceTools
$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);
CLI::logging("> Optimizing content data...\n");
$this->migrateContent($workSpace, $lang);
$stop = microtime(true);
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");
$this->cleanTokens($workSpace); $this->cleanTokens($workSpace);