From 6bc11b63e36bd7b33490fd94620143fc7f32d0b5 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 1 Nov 2013 13:57:31 +0100 Subject: [PATCH] What was that NewMenu plugin doing there anyway? --- lib/siteprofile.php | 2 -- plugins/NewMenu/NewMenuPlugin.php | 57 ------------------------------- 2 files changed, 59 deletions(-) delete mode 100644 plugins/NewMenu/NewMenuPlugin.php diff --git a/lib/siteprofile.php b/lib/siteprofile.php index 6ab095d712..3063c57d50 100644 --- a/lib/siteprofile.php +++ b/lib/siteprofile.php @@ -149,7 +149,6 @@ class PrivateSite extends SiteProfileSettings 'Directory' => null, 'ExtendedProfile' => null, 'EmailRegistration' => null, - 'NewMenu' => null, 'MobileProfile' => null, )) ), @@ -233,7 +232,6 @@ class SingleuserSite extends SiteProfileSettings 'plugins' => array( 'core' => self::corePlugins(), 'default' => array_merge(self::defaultPlugins(), array( - 'NewMenu' => null, 'MobileProfile' => null, 'OStatus' => null, 'TwitterBridge' => null, diff --git a/plugins/NewMenu/NewMenuPlugin.php b/plugins/NewMenu/NewMenuPlugin.php deleted file mode 100644 index 2c07f6a91f..0000000000 --- a/plugins/NewMenu/NewMenuPlugin.php +++ /dev/null @@ -1,57 +0,0 @@ -. - * - * @category Sample - * @package StatusNet - * @author Evan Prodromou - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - // This check helps protect against security problems; - // your code file can't be executed directly from the web. - exit(1); -} - -/** - * Somewhat different menu navigation - * - * We have a new menu layout coming in StatusNet 1.0. This plugin gets - * some of the new navigation in, although third-level menus aren't enabled. - * - * @category NewMenu - * @package StatusNet - * @author Evan Prodromou - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ -class NewMenuPlugin extends Plugin -{ - function __construct() - { - // NOOP! No hooks, no nothin'. - return; - } -}