From 3ebdf4c8d4b6a55cb9586591e56440b09cb03ba3 Mon Sep 17 00:00:00 2001 From: "tim.plunkett" <tim.plunkett@241634.no-reply.drupal.org> Date: Thu, 28 Jun 2012 09:02:44 +0200 Subject: [PATCH] Issue #1602372 by dawehner, aspilicious, Pedro Lozano, tim.plunkett: Convert views settings to config. --- includes/admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin.inc b/includes/admin.inc index f1a26c940ff1..d40280bda4fd 100644 --- a/includes/admin.inc +++ b/includes/admin.inc @@ -1194,7 +1194,7 @@ function views_ui_preview_form($form, &$form_state, $view, $display_id = 'defaul '#type' => 'checkbox', '#id' => 'edit-displays-live-preview', '#title' => t('Auto preview'), - '#default_value' => variable_get('views_ui_always_live_preview', TRUE), + '#default_value' => config('views.settings')->get('views_ui_always_live_preview'), ); // Add the arguments textfield -- GitLab