aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_prune.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-11 14:10:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:22 +0200
commit2ec9c08a2bce2cb83c68339d2d07039cabc44d68 (patch)
tree17e48c56e526046f0e1d34f157e3791e67be435a /phpBB/includes/acp/acp_prune.php
parentdac01e8ca534b4d145d99e49a6aee173b85925f5 (diff)
downloadforums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.gz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.bz2
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.xz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.zip
[ticket/12052] Use different visibility when post was edited
... and needs to be reapproved. PHPBB3-12052
Diffstat (limited to 'phpBB/includes/acp/acp_prune.php')
-rw-r--r--phpBB/includes/acp/acp_prune.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_prune.php b/phpBB/includes/acp/acp_prune.php
index d0e5dfb5f4..542f2502dd 100644
--- a/phpBB/includes/acp/acp_prune.php
+++ b/phpBB/includes/acp/acp_prune.php
@@ -533,7 +533,7 @@ class acp_prune
WHERE u.user_id <> ' . ANONYMOUS . '
AND u.user_type <> ' . USER_FOUNDER .
((!empty($user_ids)) ? 'AND ' . $db->sql_in_set('p.poster_id', $user_ids) : '') . '
- AND p.post_visibility = ' . ITEM_UNAPPROVED . '
+ AND ' . $db->sql_in_set('p.post_visibility', array(ITEM_UNAPPROVED, ITEM_REAPPROVE)) . '
AND u.user_id = p.poster_id
GROUP BY p.poster_id
HAVING queue_posts ' . $key_match[$queue_select] . ' ' . $posts_on_queue;