aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-07 07:34:38 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-07 07:36:57 -0500
commit0523e5ac2541a84b9538d0366f86b8dd83a6de1c (patch)
treebe8e0e21edabcb3f6a6733d2b1ebc3d044af41bc /mod/custom_index
parent20aadaec9bf076560a6087eb4195f536f9c3053e (diff)
downloadelgg-0523e5ac2541a84b9538d0366f86b8dd83a6de1c.tar.gz
elgg-0523e5ac2541a84b9538d0366f86b8dd83a6de1c.tar.bz2
removing deprecated functions from custom_index plugin
Diffstat (limited to 'mod/custom_index')
-rw-r--r--mod/custom_index/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/custom_index/start.php b/mod/custom_index/start.php
index 857798798..48d03f27b 100644
--- a/mod/custom_index/start.php
+++ b/mod/custom_index/start.php
@@ -4,7 +4,7 @@
*
*/
-register_elgg_event_handler('init', 'system', 'custom_index_init');
+elgg_register_event_handler('init', 'system', 'custom_index_init');
function custom_index_init() {
@@ -12,7 +12,7 @@ function custom_index_init() {
elgg_extend_view('css/elgg', 'custom_index/css');
// Replace the default index page
- register_plugin_hook('index', 'system', 'custom_index');
+ elgg_register_plugin_hook_handler('index', 'system', 'custom_index');
}
function custom_index($hook, $type, $return, $params) {