diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 18:37:25 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 18:37:25 +0000 |
commit | 199b22e79c6c9f6673fc2c65c28fcc2a2078fab3 (patch) | |
tree | 8aabdbffacdce34543f3825341a455edf4b9272d /engine/lib/river.php | |
parent | 9025749d491f72f706844e2a86da63ce284b9ff6 (diff) | |
download | elgg-199b22e79c6c9f6673fc2c65c28fcc2a2078fab3.tar.gz elgg-199b22e79c6c9f6673fc2c65c28fcc2a2078fab3.tar.bz2 |
Fixes #3171 added river widget using same name as 1.7 riverdashboard plugin
git-svn-id: http://code.elgg.org/elgg/trunk@8774 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r-- | engine/lib/river.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php index c0100bb81..50663c966 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -534,6 +534,8 @@ function elgg_river_init() { elgg_register_page_handler('activity', 'elgg_river_page_handler'); $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_event_handler('init', 'system', 'elgg_river_init'); |