Skip to content

Commit

Permalink
readd PLUGIN_CONFIG_PLUGINLIST event
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 25, 2018
1 parent 53f3816 commit 80302b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/plugins/config/core/Loader.php
Expand Up @@ -20,12 +20,15 @@ class Loader {
/**
* Loader constructor.
* @param ConfigParser $parser
* @triggers PLUGIN_CONFIG_PLUGINLIST
*/
public function __construct(ConfigParser $parser) {
global $conf;
$this->parser = $parser;
$this->plugins = plugin_list();
$this->template = $conf['template'];
// allow plugins to remove configurable plugins
trigger_event('PLUGIN_CONFIG_PLUGINLIST', $list);
}

/**
Expand Down

0 comments on commit 80302b1

Please sign in to comment.