]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publicgroupnav.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / publicgroupnav.php
index 79190a11f05edb4c379e3419b1dc3dbffeb7b43d..69347bc0d4970ff99da8c5d2df9881b459496f81 100644 (file)
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET') && !defined('LACONICA')) {
-    exit(1);
-}
-
-require_once INSTALLDIR.'/lib/widget.php';
+if (!defined('GNUSOCIAL')) { exit(1); }
 
 /**
  * Menu for public group of actions
@@ -88,13 +84,6 @@ class PublicGroupNav extends Menu
                     _('Featured users'), $this->actionName == 'featured', 'nav_featured');
             }
 
-            if (!common_config('singleuser', 'enabled')) {
-                // TRANS: Menu item in search group navigation panel.
-                $this->out->menuItem(common_local_url('favorited'), _m('MENU','Popular'),
-                                     // TRANS: Menu item title in search group navigation panel.
-                                     _('Popular notices'), $this->actionName == 'favorited', 'nav_timeline_favorited');
-            }
-
             Event::handle('EndPublicGroupNav', array($this));
         }
         $this->action->elementEnd('ul');