diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 22:22:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 22:22:40 +0000 |
commit | c8f6c3c934df01bf969e3d91ae67f0887de10da9 (patch) | |
tree | d21179fda1e19d540eb3ea56b31584f86fc1e338 /mod/categories | |
parent | a7801c71ecc6ce0f0d2a8fc82cdc779da9417aa4 (diff) | |
download | elgg-c8f6c3c934df01bf969e3d91ae67f0887de10da9.tar.gz elgg-c8f6c3c934df01bf969e3d91ae67f0887de10da9.tar.bz2 |
Fixes #2367: With fear and trepidation, converting events/plugin hooks to use elgg_ prefixed versions
git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/categories')
-rw-r--r-- | mod/categories/start.php | 6 |
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 |