mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-07-07 03:49:30 +02:00
BUGFIX: Fixed bug in r97395 (from r97508) (from r99115)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108819 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
802ad59f2a
commit
2143443472
|
@ -313,6 +313,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