aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2013-10-23 23:42:30 -0700
committerMatt Beckett <beck24@gmail.com>2013-10-23 23:42:30 -0700
commitdb9153b12101da7836d6ef0d748fb11eee335d9b (patch)
tree27b7c3d65b03d9a0a4e35d507d5d3afa90e04e5d /engine/lib/plugins.php
parent6da43b70ca0de807c0532adb0bba65405d3ffbc1 (diff)
downloadelgg-db9153b12101da7836d6ef0d748fb11eee335d9b.tar.gz
elgg-db9153b12101da7836d6ef0d748fb11eee335d9b.tar.bz2
Revert "move deactivate event registration to the user-triggered action"
This reverts commit 6da43b70ca0de807c0532adb0bba65405d3ffbc1.
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 1b7ad5db9..e0aa705bb 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -1148,6 +1148,8 @@ function plugin_init() {
run_function_once("plugin_run_once");
elgg_register_plugin_hook_handler('unit_test', 'system', 'plugins_test');
+
+ elgg_register_event_handler('deactivate', 'plugin', 'plugins_deactivate_dependency_check');
elgg_register_action("plugins/settings/save", '', 'admin');
elgg_register_action("plugins/usersettings/save");