added de-/activating logging
This commit is contained in:
parent
76afa0aa54
commit
5f5fd44b8c
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user