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 51f7f84af..ea37ba935 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -37,8 +37,8 @@ function pages_init() {
elgg_extend_view('css/screen', 'pages/css');
// Register entity type for search
- register_entity_type('object', 'page');
- register_entity_type('object', 'page_top');
+ elgg_register_entity_type('object', 'page');
+ elgg_register_entity_type('object', 'page_top');
// Register granular notification for this type
register_notification_object('object', 'page', elgg_echo('pages:new'));