]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
these plugins should not need special loading order
authorCash Costello <cash.costello@gmail.com>
Sun, 3 Jul 2011 11:24:34 +0000 (07:24 -0400)
committerCash Costello <cash.costello@gmail.com>
Sun, 3 Jul 2011 11:24:34 +0000 (07:24 -0400)
mod/notifications/start.php
mod/tinymce/start.php

index 0f1e11a5719f9e266f7d6af753389615b398dbf9..c6701cc3e58c8a83c7fc64e7cd0eef6a0d0fd127 100644 (file)
@@ -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);
index 3b662308ab657c929e3d2513e1e2fce0361d76bb..ee7154d224567f32701f218f5d7f996d0844d657 100644 (file)
@@ -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);