aboutsummaryrefslogtreecommitdiff
path: root/mod/friends
diff options
context:
space:
mode:
Diffstat (limited to 'mod/friends')
-rw-r--r--mod/friends/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/friends/start.php b/mod/friends/start.php
index fe6a40c75..54675ee2f 100644
--- a/mod/friends/start.php
+++ b/mod/friends/start.php
@@ -8,7 +8,7 @@
*/
function friends_init() {
- add_widget_type('friends', elgg_echo("friends"), elgg_echo('friends:widget:description'));
+ elgg_register_widget_type('friends', elgg_echo("friends"), elgg_echo('friends:widget:description'));
}
elgg_register_event_handler('init', 'system', 'friends_init');