aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:38:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:38:20 +0000
commitbf222132b5e63a0dbc5f077f6bd6b879c0edb5c1 (patch)
treeb446a5d609d7718648856ebaefd6541c40a2a563 /engine/lib
parent654daef7471f148ce24d9469c87ee34f6ccd6a45 (diff)
downloadelgg-bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1.tar.gz
elgg-bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1.tar.bz2
Refs #3171 Using correct widget registration method
git-svn-id: http://code.elgg.org/elgg/trunk@8788 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 80925a21d..55d1c783a 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -537,7 +537,7 @@ function elgg_river_init() {
$item = new ElggMenuItem('activity', elgg_echo('activity'), 'activity');
elgg_register_menu_item('site', $item);
- add_widget_type('river_widget', elgg_echo('river:widget:title'), elgg_echo('river:widget:description'));
+ elgg_register_widget_type('river_widget', elgg_echo('river:widget:title'), elgg_echo('river:widget:description'));
}
elgg_register_event_handler('init', 'system', 'elgg_river_init');