aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-26 20:16:07 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-26 20:20:51 +0100
commitd8a63047aaef2d8839baf32bbb8df724e1e46b02 (patch)
tree86f1ca156c81e1b6cad41ec4edfc81ae1d4778b7 /phpBB/includes
parent1af89968dda7270de73d21bfb5285f25ddee9963 (diff)
downloadforums-d8a63047aaef2d8839baf32bbb8df724e1e46b02.tar
forums-d8a63047aaef2d8839baf32bbb8df724e1e46b02.tar.gz
forums-d8a63047aaef2d8839baf32bbb8df724e1e46b02.tar.bz2
forums-d8a63047aaef2d8839baf32bbb8df724e1e46b02.tar.xz
forums-d8a63047aaef2d8839baf32bbb8df724e1e46b02.zip
[ticket/11474] Clarify comment with "global" and forum_id = 0
Forum ID 0 in permission checks, checks the global moderator permission. PHPBB3-11405 PHPBB3-11474
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/notification/type/post_in_queue.php2
-rw-r--r--phpBB/includes/notification/type/topic_in_queue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/notification/type/post_in_queue.php b/phpBB/includes/notification/type/post_in_queue.php
index a167dc2faf..bc4b15cdc3 100644
--- a/phpBB/includes/notification/type/post_in_queue.php
+++ b/phpBB/includes/notification/type/post_in_queue.php
@@ -82,7 +82,7 @@ class phpbb_notification_type_post_in_queue extends phpbb_notification_type_post
'ignore_users' => array(),
), $options);
- // 0 is for global
+ // 0 is for global moderator permissions
$auth_approve = $this->auth->acl_get_list(false, $this->permission, array($post['forum_id'], 0));
if (empty($auth_approve))
diff --git a/phpBB/includes/notification/type/topic_in_queue.php b/phpBB/includes/notification/type/topic_in_queue.php
index 4fe4325118..f735e10c00 100644
--- a/phpBB/includes/notification/type/topic_in_queue.php
+++ b/phpBB/includes/notification/type/topic_in_queue.php
@@ -82,7 +82,7 @@ class phpbb_notification_type_topic_in_queue extends phpbb_notification_type_top
'ignore_users' => array(),
), $options);
- // 0 is for global
+ // 0 is for global moderator permissions
$auth_approve = $this->auth->acl_get_list(false, 'm_approve', array($topic['forum_id'], 0));
if (empty($auth_approve))