aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-02-25 17:02:13 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-02-25 17:02:13 +0000
commit83059bd4fc81e4d26a199d1b5a72da5dfe83a17d (patch)
treec3f0ec576f95ead12497bb4ee8db78464f570d1b /phpBB/install
parent5a720f7fa11d9e496d64a52197a0ec3be4dbf96f (diff)
downloadforums-83059bd4fc81e4d26a199d1b5a72da5dfe83a17d.tar
forums-83059bd4fc81e4d26a199d1b5a72da5dfe83a17d.tar.gz
forums-83059bd4fc81e4d26a199d1b5a72da5dfe83a17d.tar.bz2
forums-83059bd4fc81e4d26a199d1b5a72da5dfe83a17d.tar.xz
forums-83059bd4fc81e4d26a199d1b5a72da5dfe83a17d.zip
bots get the same access as guests for forums having AUTH_ALL in 2.0.x
git-svn-id: file:///svn/phpbb/trunk@7069 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 2f1c3025b8..c1bb476b60 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -812,6 +812,7 @@ function phpbb_convert_authentication($mode)
// AUTH_ALL
case AUTH_ALL:
mass_auth('group', $new_forum_id, 'guests', $new_acl, ACL_YES);
+ mass_auth('group', $new_forum_id, 'bots', $new_acl, ACL_YES);
mass_auth('group', $new_forum_id, 'registered', $new_acl, ACL_YES);
break;
@@ -981,7 +982,7 @@ function phpbb_convert_authentication($mode)
global $auth;
- // Let us see if guests/registered users have access to these forums...
+ // Let us see which groups have access to these forums...
foreach ($parent_forums as $row)
{
// Get the children