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:
Ingo Schommer 2010-08-03 03:15:46 +00:00
parent 802ad59f2a
commit 2143443472

View File

@ -313,6 +313,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