Commit 09bf1e43 authored by webchick's avatar webchick
Browse files

Issue #1975150 by ACF: Remove variable_get() from...

Issue #1975150 by ACF: Remove variable_get() from mymodule_shortcut_admin_default_set() in the shortcut.api.php.
parent 7b121564
......@@ -33,7 +33,7 @@
function hook_shortcut_default_set($account) {
// Use a special set of default shortcuts for administrators only.
if (in_array(config('user.settings')->get('admin_role'), $account->roles)) {
return variable_get('mymodule_shortcut_admin_default_set');
return 'mymodule_shortcut_admin_default_set';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment