Skip to content

Commit

Permalink
Dev: Unload plugins and subscriptions before loading active plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 23, 2016
1 parent 375640e commit a1b3483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/libraries/PluginManager/PluginManager.php
Expand Up @@ -426,6 +426,8 @@ public function readConfigFiles()
foreach ($this->plugins as $plugin) {
$plugin->readConfigFile();
}
$this->plugins = array();
$this->subscriptions = array();
$this->loadPlugins();
}

Expand Down

0 comments on commit a1b3483

Please sign in to comment.