aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-05-31 15:50:32 +0200
committerNils Adermann <naderman@naderman.de>2012-05-31 15:50:32 +0200
commitedefd110879ed96c04c4b4c6310aa7d752ac88c1 (patch)
tree6aa156450cb23fa18631688acedf9f78b2ebad4c /phpBB
parentb16f3834a383439227a62b952be0c2a62ab8e487 (diff)
parentee875c0a43ac734d1693cdd7393c8f4277233426 (diff)
downloadforums-edefd110879ed96c04c4b4c6310aa7d752ac88c1.tar
forums-edefd110879ed96c04c4b4c6310aa7d752ac88c1.tar.gz
forums-edefd110879ed96c04c4b4c6310aa7d752ac88c1.tar.bz2
forums-edefd110879ed96c04c4b4c6310aa7d752ac88c1.tar.xz
forums-edefd110879ed96c04c4b4c6310aa7d752ac88c1.zip
Merge remote-tracking branch 'github-bantu/ticket/10790' into develop
By Andreas Fischer via Andreas Fischer * github-bantu/ticket/10790: [ticket/10790] Remove a (kind of) dead code section from submit_pm().
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_privmsgs.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 96e27303ee..8542e3ab0a 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1566,12 +1566,6 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true)
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';
$recipients[$row['user_id']] = $field;
}