From 2bd8782cddec23464a557a19cd4b0b85745477d1 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 25 Jun 2009 08:20:59 +0000 Subject: [PATCH] MINOR ajshort: Removed call to deprecated Director site mode function. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80056 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 74c9aa76..460dbcca 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -94,12 +94,9 @@ class LeftAndMain extends Controller { * @uses LeftAndMainDecorator->init() * @uses LeftAndMainDecorator->accessedCMS() * @uses CMSMenu - * @uses Director::set_site_mode() */ function init() { parent::init(); - - Director::set_site_mode('cms'); // set language $member = Member::currentUser();