<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2017
* $Id$
*
*/
);
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: ';
$date = sprintf("%4d%02d%02d", $year, $month, $day) . '000000';
return $date;
-}
+}