aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-10-29 13:01:03 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-10-29 13:01:03 +0200
commit6d913d36466a308333535963f682c07b76df9369 (patch)
tree21f0069109037f675365a23a50e8e3ed5e0e62e2 /phpBB/includes
parent319d12bedfecfaa352c4b21cbce471b348ead3bb (diff)
parent81f9385477e1a6b050f447c9659faaf0bc7e871a (diff)
downloadforums-6d913d36466a308333535963f682c07b76df9369.tar
forums-6d913d36466a308333535963f682c07b76df9369.tar.gz
forums-6d913d36466a308333535963f682c07b76df9369.tar.bz2
forums-6d913d36466a308333535963f682c07b76df9369.tar.xz
forums-6d913d36466a308333535963f682c07b76df9369.zip
Merge remote-tracking branch 'cs278/ticket/9307' into develop-olympus
* cs278/ticket/9307: [ticket/9307] Add config variable to installation schema. [ticket/9307] Remove hardcoded chunk size of mass emails.
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_email.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_email.php b/phpBB/includes/acp/acp_email.php
index 133fe47e09..e98b7a19a5 100644
--- a/phpBB/includes/acp/acp_email.php
+++ b/phpBB/includes/acp/acp_email.php
@@ -136,8 +136,9 @@ class acp_email
$i = $j = 0;
- // Send with BCC, no more than 50 recipients for one mail (to not exceed the limit)
- $max_chunk_size = 50;
+ // Send with BCC
+ // Maximum number of bcc recipients
+ $max_chunk_size = (int) $config['email_max_chunk_size'];
$email_list = array();
$old_lang = $row['user_lang'];
$old_notify_type = $row['user_notify_type'];