Merged in paulis/processmaker/PM-2652 (pull request #2159)

PM-2652 - PM-2461: error with workspace-restore
This commit is contained in:
Julio Cesar Laura Avendaño
2015-05-09 12:05:01 -04:00
2 changed files with 3 additions and 2 deletions

View File

@@ -579,6 +579,7 @@ function run_workspace_restore($args, $opts) {
return;
}
workspaceTools::restore($filename, $workspace, $dstWorkspace, $overwrite, $lang);
run_cacheview_upgrade($workspace, '');
}
}
}

View File

@@ -1608,12 +1608,12 @@ class workspaceTools
$final = $stop - $start;
CLI::logging("<*> Verify took $final seconds.\n");
$start = microtime(true);
/*$start = microtime(true);
CLI::logging("> Updating cache view...\n");
$workspace->upgradeCacheView(true, false, $lang);
$stop = microtime(true);
$final = $stop - $start;
CLI::logging("<*> Updating cache view Process took $final seconds.\n");
CLI::logging("<*> Updating cache view Process took $final seconds.\n");*/
mysql_close($link);
}