Skip to content

Commit

Permalink
Update deprecated variable_get.
Browse files Browse the repository at this point in the history
  • Loading branch information
herbdool authored Jun 10, 2019
1 parent f166f3a commit a015ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion references_dialog.module
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit a015ec1

Please sign in to comment.