aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-07-16 18:30:27 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2015-07-19 21:26:47 +0200
commitdf56b2ed364e24f803047c9f64d168432ba2680c (patch)
tree1639bc2251c411bb68e0be3e33f67b74bf468fc7 /phpBB/install/convertors
parent39f3313534f63c720da31b4deb726cb5d8a5d3ae (diff)
downloadforums-df56b2ed364e24f803047c9f64d168432ba2680c.tar
forums-df56b2ed364e24f803047c9f64d168432ba2680c.tar.gz
forums-df56b2ed364e24f803047c9f64d168432ba2680c.tar.bz2
forums-df56b2ed364e24f803047c9f64d168432ba2680c.tar.xz
forums-df56b2ed364e24f803047c9f64d168432ba2680c.zip
[ticket/8708] Add f_announce_global permission
PHPBB3-8708
Diffstat (limited to 'phpBB/install/convertors')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 48cff426b8..aa2c59f28c 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -661,7 +661,7 @@ function phpbb_convert_authentication($mode)
'auth_delete' => 'f_delete',
'auth_pollcreate' => 'f_poll',
'auth_vote' => 'f_vote',
- 'auth_announce' => 'f_announce',
+ 'auth_announce' => array('f_announce', 'f_announce_global'),
'auth_sticky' => 'f_sticky',
'auth_attachments' => array('f_attach', 'f_download'),
'auth_download' => 'f_download',
@@ -990,7 +990,7 @@ function phpbb_convert_authentication($mode)
// We make sure that they have at least standard access to the forums they moderate in addition to the moderating permissions
$mod_post_map = array(
- 'auth_announce' => 'f_announce',
+ 'auth_announce' => array('f_announce', 'f_announce_global'),
'auth_sticky' => 'f_sticky'
);