X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateGroups.php;h=10be31b5756f64eac6e83c17d36f015fb14b3b05;hb=a892989e7d704601c031a8a1481668ccf8fa2f8b;hp=2e1e8d6187804db03be7f86e4ef184c4a781b290;hpb=da82de8fc3b033f0c5076f790d0755592d4ba46d;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;