This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-04-10 16:24:55 -04:00
parent de674e443f
commit 1802d3155b
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.