Improvement enterprise restore
This commit is contained in:
@@ -33,6 +33,9 @@ class enterpriseClass extends PMPlugin
|
|||||||
|
|
||||||
public function enterpriseSystemUpdate($data) //$data = $oData
|
public function enterpriseSystemUpdate($data) //$data = $oData
|
||||||
{
|
{
|
||||||
|
if (count(glob(PATH_DATA_SITE . 'license/*.dat')) == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
require_once ("classes/model/Users.php");
|
require_once ("classes/model/Users.php");
|
||||||
$user = $data;
|
$user = $data;
|
||||||
$criteria = new Criteria("workflow");
|
$criteria = new Criteria("workflow");
|
||||||
|
|||||||
@@ -1523,7 +1523,7 @@ class workspaceTools
|
|||||||
|
|
||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
CLI::logging("> Verify enterprise old...\n");
|
CLI::logging("> Verify enterprise old...\n");
|
||||||
$this->verifyEnterprise($workSpace);
|
$workspace->verifyEnterprise($workspaceName);
|
||||||
$stop = microtime(true);
|
$stop = microtime(true);
|
||||||
$final = $stop - $start;
|
$final = $stop - $start;
|
||||||
CLI::logging("<*> Verify took $final seconds.\n");
|
CLI::logging("<*> Verify took $final seconds.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user