X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateGroups.php;h=10be31b5756f64eac6e83c17d36f015fb14b3b05;hb=45c3cac64701b8385aef5d56a0c831810bf815c4;hp=2e1e8d6187804db03be7f86e4ef184c4a781b290;hpb=34593f3eefb1e31e9823567c70b26151bd009b11;p=civicrm-core.git diff --git a/sql/GenerateGroups.php b/sql/GenerateGroups.php index 2e1e8d6187..10be31b575 100644 --- a/sql/GenerateGroups.php +++ b/sql/GenerateGroups.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$ * */ @@ -45,7 +45,7 @@ $config = CRM_Core_Config::singleton(); $prefix = 'Automated Generated Group: '; $query = "DELETE FROM civicrm_group where name like '%{$prefix}%'"; -CRM_Core_DAO::executeQuery($query, CRM_Core_DAO::$_nullArray); +CRM_Core_DAO::executeQuery($query); $numGroups = 100;