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) {