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/riverdashboard/start.php | |
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/riverdashboard/start.php')
-rw-r--r-- | mod/riverdashboard/start.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php index 0adc3d653..15d563855 100644 --- a/mod/riverdashboard/start.php +++ b/mod/riverdashboard/start.php @@ -17,9 +17,9 @@ function riverdashboard_init() { // add an activity stream ECML keyword // we'll restrict it to use in sitepages's custom_frontpage - register_plugin_hook('get_keywords', 'ecml', 'riverdashboard_ecml_keywords_hook'); + elgg_register_plugin_hook_handler('get_keywords', 'ecml', 'riverdashboard_ecml_keywords_hook'); - register_plugin_hook('get_views', 'ecml', 'riverdashboard_ecml_views_hook'); + elgg_register_plugin_hook_handler('get_views', 'ecml', 'riverdashboard_ecml_views_hook'); } /** @@ -83,4 +83,4 @@ function riverdashboard_ecml_views_hook($hook, $entity_type, $return_value, $par return $return_value; } -register_elgg_event_handler('init', 'system', 'riverdashboard_init'); +elgg_register_event_handler('init', 'system', 'riverdashboard_init'); |