From a015ec1177117c17c07f1a1cb7a93d349edab31b Mon Sep 17 00:00:00 2001 From: Herb Date: Mon, 10 Jun 2019 14:39:12 -0400 Subject: [PATCH] Update deprecated variable_get. --- references_dialog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/references_dialog.module b/references_dialog.module index 7f8f159..d22fbb9 100644 --- a/references_dialog.module +++ b/references_dialog.module @@ -74,7 +74,7 @@ function references_dialog_menu() { function references_dialog_admin_paths() { // We only activate admin theme if we use the admin theme // when editing nodes. - if (variable_get('node_admin_theme', FALSE)) { + if (config_get('system.core', 'node_admin_theme')) { return array('references-dialog/search/*' => TRUE); } }