CRM-19690 - MailingJob::deliver() - Remove disabled debug code
authorTim Otten <totten@civicrm.org>
Thu, 22 Dec 2016 19:39:49 +0000 (13:39 -0600)
committerTim Otten <totten@civicrm.org>
Thu, 22 Dec 2016 19:39:49 +0000 (13:39 -0600)
CRM/Mailing/BAO/MailingJob.php

index 483be1f84ccc64dc9fb5073a4f08ecd6b3648f7b..6a8e42524278b25bbc658254589d1c12af728f24 100644 (file)
@@ -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);