projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #14989 from eileenmcnaughton/import_sc
[civicrm-core.git]
/
sql
/
GenerateGroups.php
diff --git
a/sql/GenerateGroups.php
b/sql/GenerateGroups.php
index 2e1e8d6187804db03be7f86e4ef184c4a781b290..f0f19875ec0962184618b875f3b4acca4da33deb 100644
(file)
--- a/
sql/GenerateGroups.php
+++ b/
sql/GenerateGroups.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version
4.7
|
+ | CiviCRM version
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
6
|
+ | Copyright CiviCRM LLC (c) 2004-201
9
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
6
+ * @copyright CiviCRM LLC (c) 2004-201
9
* $Id$
*
*/
* $Id$
*
*/
@@
-45,7
+45,7
@@
$config = CRM_Core_Config::singleton();
$prefix = 'Automated Generated Group: ';
$query = "DELETE FROM civicrm_group where name like '%{$prefix}%'";
$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;
$numGroups = 100;