mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'github-bantu/ticket/10790' into develop-olympus
By Andreas Fischer via Andreas Fischer * github-bantu/ticket/10790: [ticket/10790] Remove a (kind of) dead code section from submit_pm().
This commit is contained in:
commit
f616c4e7a0
1 changed files with 0 additions and 6 deletions
|
@ -1522,12 +1522,6 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true)
|
||||||
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
// Additionally, do not include the sender if he is in the group he wants to send to. ;)
|
|
||||||
if ($row['user_id'] === $user->data['user_id'])
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
$field = ($data['address_list']['g'][$row['group_id']] == 'to') ? 'to' : 'bcc';
|
$field = ($data['address_list']['g'][$row['group_id']] == 'to') ? 'to' : 'bcc';
|
||||||
$recipients[$row['user_id']] = $field;
|
$recipients[$row['user_id']] = $field;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue