[ticket/10950] Fix grammar in comments

PHPBB3-10950
This commit is contained in:
Joas Schilling 2012-07-20 18:01:06 +02:00
parent a3517232f9
commit 3036db481a

View file

@ -1118,8 +1118,8 @@ function phpbb_delete_user_pms($user_id)
} }
$db->sql_freeresult($result); $db->sql_freeresult($result);
// Part 2: get PMs the user sent, but has yet to be received // Part 2: get PMs the user sent, but have yet to be received
// We can not simply delete them. First we have to check, // We cannot simply delete them. First we have to check,
// whether another user already received and read the message. // whether another user already received and read the message.
$sql = 'SELECT msg_id $sql = 'SELECT msg_id
FROM ' . PRIVMSGS_TO_TABLE . ' FROM ' . PRIVMSGS_TO_TABLE . '
@ -1143,7 +1143,7 @@ function phpbb_delete_user_pms($user_id)
if (!empty($undelivered_msg)) if (!empty($undelivered_msg))
{ {
// A pm is delivered, if for any receipt the message was moved // A pm is delivered, if for any recipient the message was moved
// from their NO_BOX to another folder. We do not delete such // from their NO_BOX to another folder. We do not delete such
// messages, but only delete them for users, who have not yet // messages, but only delete them for users, who have not yet
// received them. // received them.