Skip to content
Snippets Groups Projects
Commit 09bf1e43 authored by Angie Byron's avatar Angie Byron
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
No related branches found
No related tags found
No related merge requests found
......@@ -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';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment