mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
e46075d3fb
commit
2bd8782cdd
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user