1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/10950] Correct comment for the second query.

Only undelivered messages are handled.

PHPBB3-10950
This commit is contained in:
Andreas Fischer 2012-06-23 11:16:38 +02:00
parent 30475856c4
commit 49afc1f2dc

View File

@ -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 . '