aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2013-10-23 23:52:53 -0700
committerMatt Beckett <beck24@gmail.com>2013-10-23 23:52:53 -0700
commit9762edd4305ab8e6523d2f8171a32688295f1c88 (patch)
tree4c03ff9bbc072800147bc86c953e2eab8c021257 /engine/lib/plugins.php
parentdb9153b12101da7836d6ef0d748fb11eee335d9b (diff)
downloadelgg-9762edd4305ab8e6523d2f8171a32688295f1c88.tar.gz
elgg-9762edd4305ab8e6523d2f8171a32688295f1c88.tar.bz2
Added comments regarding deactivation due to error
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index e0aa705bb..c296346fc 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -1149,6 +1149,8 @@ function plugin_init() {
elgg_register_plugin_hook_handler('unit_test', 'system', 'plugins_test');
+ // note - plugins are booted by the time this handler is registered
+ // deactivation due to error may have already occurred
elgg_register_event_handler('deactivate', 'plugin', 'plugins_deactivate_dependency_check');
elgg_register_action("plugins/settings/save", '', 'admin');