]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/primarynav.php
If there's no Happening, we can't use the RSVP.
[quix0rs-gnu-social.git] / lib / primarynav.php
index 7a9815af7b04309981ab5f426d7177ec5b2fa0c6..f765938903e6b9d5c622d848f3a4c6aef4091bb5 100644 (file)
@@ -86,16 +86,6 @@ class PrimaryNav extends Menu
                                 'nav_login');
             }
 
-            if (!empty($user) || !common_config('site', 'private')) {
-                $this->action->menuItem(common_local_url('noticesearch'),
-                                // TRANS: Menu item in primary navigation panel.
-                                _m('MENU','Search'),
-                                // TRANS: Menu item title in primary navigation panel.
-                                _('Search the site.'),
-                                false,
-                                'nav_search');
-            }
-
             Event::handle('EndPrimaryNav', array($this->action));
         }