aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 4463b6d6f..78d239a5f 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2103,12 +2103,16 @@
register_page_handler('js','js_page_handler');
// Register an event triggered at system shutdown
register_shutdown_function('__elgg_shutdown_hook');
- }
+ }
- // Actions
+ function elgg_boot() {
+
+ // Actions
register_action('comments/add');
- register_action('comments/delete');
-
- register_elgg_event_handler('init','system','elgg_init');
+ register_action('comments/delete');
+ }
+
+ register_elgg_event_handler('init','system','elgg_init');
+ register_elgg_event_handler('boot','system','elgg_boot');
?> \ No newline at end of file