Permalink
Browse files

fix(discussions): removes site "Discussions" menu item added in 2.2.0

Either sites already added this via a plugin in 2.1 or they didn't want it.

Fixes #9731
  • Loading branch information...
mrclay committed Aug 24, 2016
1 parent 7ccf5fe commit 346782993fbb3e5f6e5c56a6b16038cc4f6de275
Showing with 0 additions and 5 deletions.
  1. +0 −5 mod/discussions/start.php
@@ -12,11 +12,6 @@ function discussion_init() {
elgg_register_library('elgg:discussion', __DIR__ . '/lib/discussion.php');
- elgg_register_menu_item('site', [
- 'name' => 'discussion',
- 'text' => elgg_echo('discussion'),
- 'href' => 'discussion/all',
- ]);
elgg_register_page_handler('discussion', 'discussion_page_handler');
elgg_register_plugin_hook_handler('entity:url', 'object', 'discussion_set_topic_url');

0 comments on commit 3467829

Please sign in to comment.