diff options
author | Chris Smith <toonarmy@phpbb.com> | 2011-09-24 22:05:40 +0100 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2011-09-24 22:05:40 +0100 |
commit | 138d1050fcfa910eb8819e91034741ed74baf4f3 (patch) | |
tree | fdf06140efaf3bba49d76f7033cc97a29be9a7fc /phpBB/includes | |
parent | abc0c336af4ace1f836cce107fcb307fa32e182c (diff) | |
download | forums-138d1050fcfa910eb8819e91034741ed74baf4f3.tar forums-138d1050fcfa910eb8819e91034741ed74baf4f3.tar.gz forums-138d1050fcfa910eb8819e91034741ed74baf4f3.tar.bz2 forums-138d1050fcfa910eb8819e91034741ed74baf4f3.tar.xz forums-138d1050fcfa910eb8819e91034741ed74baf4f3.zip |
[ticket/9307] Remove hardcoded chunk size of mass emails.
The new config option is 'email_max_chunk_size' I have not added
an interface option to change this.
PHPBB3-9307
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_email.php | 5 |
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']; |