From b69d6e2b98a4f19eea3f7e141390c4328f563117 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 15 Nov 2009 19:37:54 +0000 Subject: [PATCH] API CHANGE Removed LeftAndMain::add_menu_item(), use CMSMenu::add_menu_item() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@91585 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 07e2cb5f..591236b3 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -350,14 +350,6 @@ class LeftAndMain extends Controller { $parts = split(']*>', $html); return $parts[sizeof($parts)-2]; } - - /** - * @deprecated Use CMSMenu::add_menu_item(); - */ - static function add_menu_item($code, $menuTitle, $url, $controllerClass = null, $priority = -1) { - user_error("LeftAndMain::add_menu_item is deprecated; use CMSMenu::add_menu_item", E_USER_NOTICE); - return CMSMenu::add_menu_item($code, $menuTitle, $url, $controllerClass, $priority); - } //------------------------------------------------------------------------------------------// // Main UI components