aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:28:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:28:58 +0000
commit68d9bce9cb0e98a50da8a67a665d9c537ce012d0 (patch)
treefe418de5e16842fcc483c14621c5075d745a4cb7 /mod/pages/start.php
parentfa2c88ca281a9d661b2f8121a56a64d3ce78784a (diff)
downloadelgg-68d9bce9cb0e98a50da8a67a665d9c537ce012d0.tar.gz
elgg-68d9bce9cb0e98a50da8a67a665d9c537ce012d0.tar.bz2
replacing calls to add_widget_type() with elgg_register_widget_type() (from hellekin)
git-svn-id: http://code.elgg.org/elgg/trunk@7635 36083f99-b078-4883-b0ff-0f9b5a30f544
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