Merged in bugfix/HOR-3005 (pull request #5604)

HOR-3005

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly
2017-04-11 18:01:03 +00:00
committed by Julio Cesar Laura Avendaño
4 changed files with 0 additions and 1555 deletions

View File

@@ -1900,22 +1900,6 @@ class PMPluginRegistry
str_replace(["\n", "\r", "\t"], ' ', file_get_contents($path . $pluginFile))
);
}
/**
* Use this for extensions
*
* @return array with namespace and plugin folder
*/
public function getEnabledPlugins()
{
$enabledPlugins = array();
foreach ($this->_aPluginDetails as $row) {
if ($row->enabled) {
$enabledPlugins[$row->sNamespace] = $row->sPluginFolder;
}
}
return $enabledPlugins;
}
/**
* Registry in an array routes for js or css files.