aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-03 07:24:34 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-03 07:24:34 -0400
commitc6ae2672c08ee800e730b10a691ead1f2279362b (patch)
treeba5ce7f351a01b95a71709389d82fb25d65d3b4a /mod/notifications
parent1ec032da0e5e72e0e8734720d158d77f44eab483 (diff)
downloadelgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.gz
elgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.bz2
these plugins should not need special loading order
Diffstat (limited to 'mod/notifications')
-rw-r--r--mod/notifications/start.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index 0f1e11a57..c6701cc3e 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -1,11 +1,11 @@
<?php
-
/**
* Elgg notifications plugin
*
* @package ElggNotifications
*/
+elgg_register_event_handler('init', 'system', 'notifications_plugin_init');
function notifications_plugin_init() {
@@ -187,5 +187,3 @@ function notifications_update_collection_notify($event, $object_type, $returnval
}
}
}
-
-elgg_register_event_handler('init', 'system', 'notifications_plugin_init', 1000);