aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index ea37ba935..ec5a8815b 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -23,8 +23,8 @@ function pages_init() {
elgg_register_page_handler('pages', 'pages_page_handler');
// Register a url handler
- register_entity_url_handler('pages_url', 'object', 'page_top');
- register_entity_url_handler('pages_url', 'object', 'page');
+ elgg_register_entity_url_handler('object', 'page_top', 'pages_url');
+ elgg_register_entity_url_handler('object', 'page', 'pages_url');
register_extender_url_handler('pages_revision_url', 'annotation', 'page');
// Register some actions