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:
Ingo Schommer 2010-02-16 03:45:39 +00:00 committed by Sam Minnee
parent 8d359d1703
commit 70f4894857

View File

@ -301,6 +301,17 @@ class LeftAndMain extends Controller {
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