diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-09 16:33:55 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-09 16:33:55 -0700 |
commit | f37be8abe23f6732c980137d7d1951ff5c0fdc35 (patch) | |
tree | aae3f42ea13123b01f93a1aa4e6daaa23b901659 /engine/lib/river.php | |
parent | bc849f770ba798a95df076ede2c9d5d4546c3ba6 (diff) | |
parent | 2329cb233a8766ac1a6bc5d5b4d699f2ab773ea4 (diff) | |
download | elgg-f37be8abe23f6732c980137d7d1951ff5c0fdc35.tar.gz elgg-f37be8abe23f6732c980137d7d1951ff5c0fdc35.tar.bz2 |
Merge pull request #296 from sembrestels/delete-river
Delete river items
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r-- | engine/lib/river.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php index 711832f70..b717a7756 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -643,9 +643,11 @@ 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); - + elgg_register_widget_type('river_widget', elgg_echo('river:widget:title'), elgg_echo('river:widget:description')); + elgg_register_action('river/delete', '', 'admin'); + elgg_register_plugin_hook_handler('unit_test', 'system', 'elgg_river_test'); } |