From 316d5ef967bddbe4040f5da6721511449bdd08d2 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Tue, 26 Aug 2014 11:09:03 +0100 Subject: [PATCH] Set the stage reading mode in LeftAndMain --- admin/code/LeftAndMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index b372e7d84..46fb86f5e 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -446,7 +446,7 @@ class LeftAndMain extends Controller implements PermissionProvider { Config::inst()->update('SSViewer', 'theme_enabled', false); //set the reading mode for the admin to stage - Versioned::set_reading_mode('Stage'); + Versioned::reading_stage('Stage'); } public function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {