mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10950] Correct comment for the second query.
Only undelivered messages are handled. PHPBB3-10950
This commit is contained in:
@@ -1133,7 +1133,7 @@ function phpbb_delete_user_pms($user_id)
|
|||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$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
|
$sql = 'SELECT msg_id, user_id
|
||||||
FROM ' . PRIVMSGS_TO_TABLE . '
|
FROM ' . PRIVMSGS_TO_TABLE . '
|
||||||
WHERE author_id = ' . $user_id . '
|
WHERE author_id = ' . $user_id . '
|
||||||
|
Reference in New Issue
Block a user