added de-/activating logging

This commit is contained in:
Steffen Schröder 2013-12-31 15:09:25 +01:00
parent 76afa0aa54
commit 5f5fd44b8c

View File

@ -204,18 +204,18 @@ class PluginManager {
}
/**
* Returns an Plugin if it is aktivated
* @param $pluginClass
* @return null
* Returns an Plugin if it is activated
*
* @param string $pluginClass
* @return Plugin
*/
public function getPlugin($pluginClass) {
if($this->isPluginActive($pluginClass)){
if ($this->isPluginActive($pluginClass)) {
return $this->activePlugins[$pluginClass];
}
return null;
}
/**
* Get all declared plugin class names
*