diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-27 20:25:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-27 20:25:44 +0000 |
commit | 84c72d06f03163115ae9bbc939e6ab2dbc65eb28 (patch) | |
tree | 70506c548713a51c9f9e51e866849b5858de46fd /modules/system/system.install | |
parent | 22cfc5bb2cf84d88356b50ab8f497add152d1858 (diff) | |
download | brdo-84c72d06f03163115ae9bbc939e6ab2dbc65eb28.tar.gz brdo-84c72d06f03163115ae9bbc939e6ab2dbc65eb28.tar.bz2 |
- Patch #669510 by quicksketch, David_Rothstein, Dave Reid, casey, Gábor Hojtsy, mrfelton, effulgentsia: merge administration theme with hook_admin_paths().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 5e0d5b8d2..ba16f8bdf 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2927,6 +2927,17 @@ function system_update_7066() { } /** + * Allow all users to view the administration theme. + */ +function system_update_7067() { + // Preserve the site's current behavior of automatically allowing all users + // to view the administration theme whenever they have access to an + // administrative page. + user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('view the administration theme')); + user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('view the administration theme')); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |