diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 15:04:45 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 15:04:45 +0000 |
commit | bf8b6a531a1af5c9ca7a53d4c3c2678328b44ef9 (patch) | |
tree | a2dd85128fbf63e8764358a8778d99f05f31d938 /modules/user.module | |
parent | aeead6cf9c7fa9eeb820391099257c683f54e066 (diff) | |
download | brdo-bf8b6a531a1af5c9ca7a53d4c3c2678328b44ef9.tar.gz brdo-bf8b6a531a1af5c9ca7a53d4c3c2678328b44ef9.tar.bz2 |
#46617, Restore some module listings, partially applied, I've omitted places where I felt that sortign by weight would be wanted.
We can discuss those on the issue. Patch by chx.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index 57447b48c..be46ff8ca 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1691,7 +1691,7 @@ function user_admin_perm($str_rids = NULL) { // Render role/permission overview: $options = array(); - foreach (module_list() as $module) { + foreach (module_list(FALSE, FALSE, TRUE) as $module) { if ($permissions = module_invoke($module, 'perm')) { $form['permission'][] = array('#type' => 'markup', '#value' => t('%module module', array('%module' => $module))); asort($permissions); |