aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-05-31 15:50:19 +0200
committerNils Adermann <naderman@naderman.de>2012-05-31 15:50:19 +0200
commitf616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4 (patch)
treed91ff8260768e96d2f6cc7c26b198f2b15f2f83b /phpBB
parent7eaedcc8de0b744aa3c821581f73e0202651b0b1 (diff)
parentee875c0a43ac734d1693cdd7393c8f4277233426 (diff)
downloadforums-f616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4.tar
forums-f616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4.tar.gz
forums-f616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4.tar.bz2
forums-f616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4.tar.xz
forums-f616c4e7a0ac6eaeb513b3a2eb2f32a7305525a4.zip
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().
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 d2fce000aa..261ed45727 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1522,12 +1522,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;
}