X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateMailing.php;h=f1dc5b948c7a1732080d35e0cfeddbaff50f0e5c;hb=45c3cac64701b8385aef5d56a0c831810bf815c4;hp=ee7a72c5e0a66300b8c8979ac569c055cd52df06;hpb=137d9cf0dd0ac7e9f59e60245fee5c4d0b386b85;p=civicrm-core.git diff --git a/sql/GenerateMailing.php b/sql/GenerateMailing.php index ee7a72c5e0..f1dc5b948c 100644 --- a/sql/GenerateMailing.php +++ b/sql/GenerateMailing.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * $Id$ * */ @@ -54,7 +54,7 @@ $tables = array( ); foreach ($tables as $t) { $query = "DELETE FROM $t"; - CRM_Core_DAO::executeQuery($query, CRM_Core_DAO::$_nullArray); + CRM_Core_DAO::executeQuery($query); } $prefix = 'Automated Mailing Gen: '; @@ -101,5 +101,3 @@ function generateRandomDate() { return $date; } - -