Merged in marcoAntonioNina/processmaker (pull request #881)

Improvement enterprise restore
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-09 16:10:47 -04:00
2 changed files with 4 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ class enterpriseClass extends PMPlugin
public function enterpriseSystemUpdate($data) //$data = $oData
{
if (count(glob(PATH_DATA_SITE . 'license/*.dat')) == 0) {
return;
}
require_once ("classes/model/Users.php");
$user = $data;
$criteria = new Criteria("workflow");

View File

@@ -1523,7 +1523,7 @@ class workspaceTools
$start = microtime(true);
CLI::logging("> Verify enterprise old...\n");
$this->verifyEnterprise($workSpace);
$workspace->verifyEnterprise($workspaceName);
$stop = microtime(true);
$final = $stop - $start;
CLI::logging("<*> Verify took $final seconds.\n");