Merged in bugfix/HOR-2823 (pull request #5504)

HOR-2823

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2017-03-09 19:41:24 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -150,6 +150,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");
@@ -165,12 +171,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);