+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2018
*/
require_once 'Mail.php';
continue;
}
+ $transaction = new CRM_Core_Transaction();
+
$job->split_job($offset);
// update the status of the parent job
- $transaction = new CRM_Core_Transaction();
-
$saveJob = new CRM_Mailing_DAO_MailingJob();
$saveJob->id = $job->id;
$saveJob->start_date = date('YmdHis');
CRM_Core_DAO::executeQuery($sql, $params);
}
}
+
}
/**