From 2cef7e009ea9e46271e09ec38fc27ac0f242a3f3 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 22 Dec 2016 13:39:49 -0600 Subject: [PATCH] CRM-19690 - MailingJob::deliver() - Remove disabled debug code --- CRM/Mailing/BAO/MailingJob.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index 483be1f84c..6a8e425242 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -532,10 +532,6 @@ VALUES (%1, %2, %3, %4, %5, %6, %7) $mailerBatchLimit = Civi::settings()->get('mailerBatchLimit'); $eq = self::findPendingTasks($this->id, $mailing->sms_provider_id ? 'sms' : 'email'); while ($eq->fetch()) { - // if ( ( $mailsProcessed % 100 ) == 0 ) { - // CRM_Utils_System::xMemory( "$mailsProcessed: " ); - // } - if ($mailerBatchLimit > 0 && self::$mailsProcessed >= $mailerBatchLimit) { if (!empty($fields)) { $this->deliverGroup($fields, $mailing, $mailer, $job_date, $attachments); -- 2.25.1