Fix CR
This commit is contained in:
@@ -1375,7 +1375,7 @@ class PMPluginRegistry
|
||||
$classFile = $baseSrcPluginPath . $apiPath . 'Ext' . $className . '.php';
|
||||
if (file_exists($classFile)) {
|
||||
if (empty($this->_restExtendServices[$namespace])) {
|
||||
$this->_restExtendServices[$namespace] = new \stdClass();
|
||||
$this->_restExtendServices[$namespace] = new stdClass();
|
||||
}
|
||||
$this->_restExtendServices[$namespace]->{$className} = [
|
||||
'filePath' => $classFile,
|
||||
|
||||
@@ -204,6 +204,7 @@ class PluginRegistry
|
||||
}
|
||||
Cache::pull(self::NAME_CACHE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the plugin details, by filename
|
||||
* @param string $Filename
|
||||
@@ -1125,7 +1126,8 @@ class PluginRegistry
|
||||
$ActionSave,
|
||||
$ActionExecute,
|
||||
$ActionGetFields
|
||||
) {
|
||||
)
|
||||
{
|
||||
$found = false;
|
||||
/** @var CaseSchedulerPlugin $caseScheduler */
|
||||
foreach ($this->_aCaseSchedulerPlugin as $caseScheduler) {
|
||||
@@ -1248,9 +1250,9 @@ class PluginRegistry
|
||||
$baseSrcPluginPath = PATH_PLUGINS . $Namespace . PATH_SEP . 'src';
|
||||
$apiPath = PATH_SEP . 'Services' . PATH_SEP . 'Ext' . PATH_SEP;
|
||||
$classFile = $baseSrcPluginPath . $apiPath . 'Ext' . $ClassName . '.php';
|
||||
if (\file_exists($classFile)) {
|
||||
if (file_exists($classFile)) {
|
||||
if (empty($this->_restExtendServices[$Namespace])) {
|
||||
$this->_restExtendServices[$Namespace] = new \stdClass();
|
||||
$this->_restExtendServices[$Namespace] = new stdClass();
|
||||
}
|
||||
$this->_restExtendServices[$Namespace]->{$ClassName} = [
|
||||
'filePath' => $classFile,
|
||||
|
||||
Reference in New Issue
Block a user