diff options
Diffstat (limited to 'admin/admin_login_inc.php')
| -rw-r--r-- | admin/admin_login_inc.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/admin/admin_login_inc.php b/admin/admin_login_inc.php index 9651616..f472298 100644 --- a/admin/admin_login_inc.php +++ b/admin/admin_login_inc.php @@ -209,14 +209,8 @@ $httpSettings = array( ); $gBitSmarty->assign( 'httpSettings', $httpSettings ); - -if (defined ('ROLE_MODEL') ) { - $listHash = array( 'sort_mode' => 'role_name_asc' ); - $gBitSmarty->assign( 'roleList', $gBitUser->getAllRoles( $listHash )); -} else { - $listHash = array( 'sort_mode' => 'group_name_asc' ); - $gBitSmarty->assign('groups', $gBitUser->getAllGroups( $listHash )); -} +$listHash = array( 'sort_mode' => 'group_name_asc' ); +$gBitSmarty->assign('groups', $gBitUser->getAllGroups( $listHash )); if( !function_exists("gd_info" ) ) { $gBitSmarty->assign( 'warning', 'PHP GD library is required for this feature (not found on your system)' ); |
