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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index e8d49fe58..1e0c5bdc2 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -48,7 +48,7 @@ function pages_init() {
add_group_tool_option('pages',elgg_echo('groups:enablepages'),true);
//add a widget
- add_widget_type('pages',elgg_echo('pages'),elgg_echo('pages:widget:description'));
+ elgg_register_widget_type('pages',elgg_echo('pages'),elgg_echo('pages:widget:description'));
// For now, we'll hard code the groups profile items as follows:
// TODO make this user configurable