Improvement enterprise restore
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user