aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index c1693bbcc..491bdab15 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -37,7 +37,7 @@ function messages_init() {
elgg_extend_view('elgg_topbar/extend', 'messages/topbar');
// Register a page handler, so we can have nice URLs
- register_page_handler('messages', 'messages_page_handler');
+ elgg_register_page_handler('messages', 'messages_page_handler');
// Register a URL handler
register_entity_url_handler('messages_url', 'object', 'messages');