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
This commit is contained in:
Sam Minnee 2009-06-25 08:20:59 +00:00
parent e46075d3fb
commit 2bd8782cdd

View File

@ -94,12 +94,9 @@ class LeftAndMain extends Controller {
* @uses LeftAndMainDecorator->init() * @uses LeftAndMainDecorator->init()
* @uses LeftAndMainDecorator->accessedCMS() * @uses LeftAndMainDecorator->accessedCMS()
* @uses CMSMenu * @uses CMSMenu
* @uses Director::set_site_mode()
*/ */
function init() { function init() {
parent::init(); parent::init();
Director::set_site_mode('cms');
// set language // set language
$member = Member::currentUser(); $member = Member::currentUser();