Done away with group vs. user switching, no point

git-svn-id: file:///svn/phpbb/trunk@1045 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-09-15 23:05:03 +00:00
parent 887bcf7494
commit f1233468cf

View file

@ -339,10 +339,6 @@ function auth_check_user($type, $key, $u_access, $is_admin)
{ {
for($j = 0; $j < count($u_access); $j++) for($j = 0; $j < count($u_access); $j++)
{ {
if(!$single_user)
{
$single_user = $u_access[$j]['group_single_user'];
$result = 0; $result = 0;
switch($type) switch($type)
{ {
@ -357,9 +353,7 @@ function auth_check_user($type, $key, $u_access, $is_admin)
break; break;
} }
$auth_user = (!$single_user) ? ( $auth_user || $result ) : $result; $auth_user = $auth_user || $result;
}
} }
} }
else else