Permalink
Browse files

readd PLUGIN_CONFIG_PLUGINLIST event

  • Loading branch information...
splitbrain committed May 25, 2018
1 parent 53f3816 commit 80302b1fb854195839177f073934591814b46ed2
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/plugins/config/core/Loader.php
@@ -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);
}
/**

0 comments on commit 80302b1

Please sign in to comment.