aboutsummaryrefslogtreecommitdiff
path: root/mod/categories
diff options
context:
space:
mode:
Diffstat (limited to 'mod/categories')
-rw-r--r--mod/categories/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/categories/start.php b/mod/categories/start.php
index 35406459a..b717294f7 100644
--- a/mod/categories/start.php
+++ b/mod/categories/start.php
@@ -19,8 +19,8 @@ function categories_init() {
register_page_handler('categories', 'categories_page_handler');
- register_elgg_event_handler('update','all','categories_save');
- register_elgg_event_handler('create','all','categories_save');
+ elgg_register_event_handler('update','all','categories_save');
+ elgg_register_event_handler('create','all','categories_save');
}
@@ -73,4 +73,4 @@ function categories_on_disable() {
elgg_delete_admin_notice('categories_admin_notice_no_categories');
}
-register_elgg_event_handler('init','system','categories_init'); \ No newline at end of file
+elgg_register_event_handler('init','system','categories_init'); \ No newline at end of file