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 #14898 from eileenmcnaughton/export_rel
[civicrm-core.git]
/
api
/
v3
/
Group.php
diff --git
a/api/v3/Group.php
b/api/v3/Group.php
index 8b97db785e26ff47568bcadde2412afe907f937d..6b9dba3ea3694e526b50d805b42be41faa81faa5 100644
(file)
--- a/
api/v3/Group.php
+++ b/
api/v3/Group.php
@@
-98,7
+98,7
@@
function civicrm_api3_group_get($params) {
* @throws API_Exception
*/
function civicrm_api3_group_delete($params) {
* @throws API_Exception
*/
function civicrm_api3_group_delete($params) {
- $group = civicrm_api3_group_get(
array('id' => $params['id'])
);
+ $group = civicrm_api3_group_get(
['id' => $params['id']]
);
if ($group['count'] == 0) {
throw new API_Exception('Could not delete group ' . $params['id']);
}
if ($group['count'] == 0) {
throw new API_Exception('Could not delete group ' . $params['id']);
}