Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Make sure to push the newly activated plugins at the end of the list.…
Browse files Browse the repository at this point in the history
… Should fix #822
  • Loading branch information
cdujeu committed Feb 16, 2015
1 parent 9883820 commit f81ab4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/core/classes/class.AJXP_PluginsService.php
Expand Up @@ -456,6 +456,9 @@ public function setPluginActiveInst($type, $name, $active=true, $updateInstance
}
}
}
if(isSet($this->activePlugins[$type.".".$name])){
unset($this->activePlugins[$type.".".$name]);
}
$this->activePlugins[$type.".".$name] = $active;
if (isSet($updateInstance) && isSet($this->registry[$type][$name])) {
$this->registry[$type][$name] = $updateInstance;
Expand Down

0 comments on commit f81ab4b

Please sign in to comment.