mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
887bcf7494
commit
f1233468cf
1 changed files with 11 additions and 17 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue