aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/river.php')
-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');