From 2b44d49d21e0e64040ca58f76f7fbbb4f4822e0d Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Thu, 9 Mar 2017 09:51:33 -0400 Subject: [PATCH] HOR-2823 --- workflow/engine/classes/class.wsTools.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/workflow/engine/classes/class.wsTools.php b/workflow/engine/classes/class.wsTools.php index f0d279e45..99ef71f37 100644 --- a/workflow/engine/classes/class.wsTools.php +++ b/workflow/engine/classes/class.wsTools.php @@ -153,6 +153,12 @@ class workspaceTools $final = $stop - $start; 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); CLI::logging("> Migrate new lists...\n"); @@ -168,12 +174,6 @@ class workspaceTools $stop = microtime(true); 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); CLI::logging("> Clean access and refresh tokens...\n"); $this->cleanTokens($workSpace);