diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-07-29 13:35:49 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-07-29 13:35:49 +0000 |
commit | a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a (patch) | |
tree | 90a7d61eb4ebce1f4eeebe75b284d46d5af59889 /phpBB | |
parent | df25057773b3287fa8eaef503dd1357c25009d94 (diff) | |
download | forums-a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a.tar forums-a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a.tar.gz forums-a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a.tar.bz2 forums-a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a.tar.xz forums-a67c7c5384464f668db6c15d3fbb4edc8ce2bd3a.zip |
remove unnecessary checks
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8710 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_permissions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_permissions.php b/phpBB/includes/acp/acp_permissions.php index 9240db271c..727aa0d25d 100644 --- a/phpBB/includes/acp/acp_permissions.php +++ b/phpBB/includes/acp/acp_permissions.php @@ -369,8 +369,8 @@ class acp_permissions $template->assign_vars(array( 'S_SELECT_GROUP' => true, - 'S_GROUP_OPTIONS' => group_select_options(false, false, (($user->data['user_type'] == USER_FOUNDER) ? false : 0))) - ); + 'S_GROUP_OPTIONS' => group_select_options(false, false, false), // Show all groups + )); break; @@ -415,7 +415,7 @@ class acp_permissions 'S_SELECT_USERGROUP_VIEW' => ($victim == 'usergroup_view') ? true : false, 'S_DEFINED_USER_OPTIONS' => $items['user_ids_options'], 'S_DEFINED_GROUP_OPTIONS' => $items['group_ids_options'], - 'S_ADD_GROUP_OPTIONS' => group_select_options(false, $items['group_ids'], (($user->data['user_type'] == USER_FOUNDER) ? false : 0)), + 'S_ADD_GROUP_OPTIONS' => group_select_options(false, $items['group_ids'], false), // Show all groups 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=add_user&field=username&select_single=true'), )); |