summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-28 06:42:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-28 06:42:54 +0000
commite87bf71e5f62ca79a05329860d2ffa6c0d44e427 (patch)
tree95a3596e8a1ee47a157a56b46e21329bb192d384 /modules/user/user.module
parent11f7c9662c0d0dd2a802380b0f89aa18438fb9e5 (diff)
downloadbrdo-e87bf71e5f62ca79a05329860d2ffa6c0d44e427.tar.gz
brdo-e87bf71e5f62ca79a05329860d2ffa6c0d44e427.tar.bz2
- Patch #296693 by sun: revert system_admin_menu_block_access().
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index cc7c83d99..7a672e0b9 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1316,8 +1316,7 @@ function user_menu() {
'description' => 'Configure user accounts, roles and permissions.',
'position' => 'right',
'page callback' => 'system_admin_menu_block_page',
- 'access callback' => 'system_admin_menu_block_access',
- 'access arguments' => array('admin/config/people', 'access administration pages'),
+ 'access arguments' => array('access administration pages'),
);
$items['admin/config/people/accounts'] = array(
'title' => 'Account settings',