aboutsummaryrefslogtreecommitdiff
path: root/mod
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
parent1ec032da0e5e72e0e8734720d158d77f44eab483 (diff)
downloadelgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.gz
elgg-c6ae2672c08ee800e730b10a691ead1f2279362b.tar.bz2
these plugins should not need special loading order
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications/start.php4
-rw-r--r--mod/tinymce/start.php4
2 files changed, 3 insertions, 5 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);
diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php
index 3b662308a..ee7154d22 100644
--- a/mod/tinymce/start.php
+++ b/mod/tinymce/start.php
@@ -5,6 +5,8 @@
* @package ElggTinyMCE
*/
+elgg_register_event_handler('init', 'system', 'tinymce_init');
+
function tinymce_init() {
elgg_extend_view('css/elgg', 'tinymce/css');
elgg_extend_view('css/admin', 'tinymce/css');
@@ -30,5 +32,3 @@ function tinymce_longtext_menu($hook, $type, $items, $vars) {
return $items;
}
-
-elgg_register_event_handler('init', 'system', 'tinymce_init', 9999);