Add namespace Processmaker\Core
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
|
||||
use ProcessMaker\Core\System;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
|
||||
class PMPluginRegistry
|
||||
@@ -501,7 +503,7 @@ class PMPluginRegistry
|
||||
|
||||
public function uninstallPluginWorkspaces ($arrayPlugin)
|
||||
{
|
||||
$workspace = PmSystem::listWorkspaces();
|
||||
$workspace = System::listWorkspaces();
|
||||
|
||||
foreach ($workspace as $indexWS => $ws) {
|
||||
$wsPathDataSite = PATH_DATA . "sites" . PATH_SEP . $ws->name . PATH_SEP;
|
||||
@@ -1542,7 +1544,7 @@ class PMPluginRegistry
|
||||
if (isset($pluginDetails->aWorkspaces) && is_array($pluginDetails->aWorkspaces) && count($pluginDetails->aWorkspaces) > 0) {
|
||||
$arrayWorkspace = array();
|
||||
|
||||
foreach (PmSystem::listWorkspaces() as $value) {
|
||||
foreach (System::listWorkspaces() as $value) {
|
||||
$workspaceTools = $value;
|
||||
|
||||
$arrayWorkspace[] = $workspaceTools->name;
|
||||
|
||||
Reference in New Issue
Block a user