From bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 20 Mar 2011 21:38:20 +0000 Subject: Refs #3171 Using correct widget registration method git-svn-id: http://code.elgg.org/elgg/trunk@8788 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/river.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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'); -- cgit v1.2.3