mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-03 06:38:40 +02:00
BUGFIX: Fixed bug in r97395 (from r97508)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99115 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d359d1703
commit
70f4894857
@ -301,6 +301,17 @@ class LeftAndMain extends Controller {
|
|||||||
SSViewer::set_theme(null);
|
SSViewer::set_theme(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If this is set to true, the "switchView" context in the
|
||||||
|
* template is shown, with links to the staging and publish site.
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
function ShowSwitchView() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------------------//
|
//------------------------------------------------------------------------------------------//
|
||||||
// Main controllers
|
// Main controllers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user