aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-06-23 11:16:38 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-06-23 11:16:38 +0200
commit49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604 (patch)
tree0149569a15afaa11af76463791bdda0ecd1fc7bb /phpBB/includes/functions_privmsgs.php
parent30475856c46b3604693b6d5df22be3360ae16822 (diff)
downloadforums-49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604.tar
forums-49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604.tar.gz
forums-49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604.tar.bz2
forums-49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604.tar.xz
forums-49afc1f2dc3a3ee17c6abff1e94c25a8ba8b3604.zip
[ticket/10950] Correct comment for the second query.
Only undelivered messages are handled. PHPBB3-10950
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 72dd3c7d20..afd254d6ea 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1133,7 +1133,7 @@ function phpbb_delete_user_pms($user_id)
}
$db->sql_freeresult($result);
- // Part 2: get PMs the user sent
+ // Part 2: get PMs the user sent, but has yet to be received
$sql = 'SELECT msg_id, user_id
FROM ' . PRIVMSGS_TO_TABLE . '
WHERE author_id = ' . $user_id . '