Merged in paulis/processmaker/PM-2652 (pull request #2159)
PM-2652 - PM-2461: error with workspace-restore
This commit is contained in:
@@ -579,6 +579,7 @@ function run_workspace_restore($args, $opts) {
|
||||
return;
|
||||
}
|
||||
workspaceTools::restore($filename, $workspace, $dstWorkspace, $overwrite, $lang);
|
||||
run_cacheview_upgrade($workspace, '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user