1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- changed SUPER_MODERATORS to GLOBAL_MODERATORS

- do not cache moderators having no allowed auth settings
- added fsock method to transfer class (this has been made by wGEric for us)


git-svn-id: file:///svn/phpbb/trunk@5870 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-04-30 14:09:13 +00:00
parent e69278b5cd
commit 3536a60e10
7 changed files with 317 additions and 7 deletions

View File

@@ -1812,6 +1812,22 @@ function cache_moderators()
{
foreach ($forum_id_ary as $forum_id => $auth_ary)
{
$flag = false;
foreach ($auth_ary as $auth_option => $setting)
{
// Make sure at least one ACL_YES option is set...
if ($setting == ACL_YES)
{
$flag = true;
break;
}
}
if (!$flag)
{
continue;
}
$sql_ary[] = array(
'forum_id' => $forum_id,
'user_id' => 0,