X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FCustomGroup.php;h=c5cb7ca4a4910fa590ffbdf3353e88863eae9871;hb=85bb0909cffd925f4cd5c0022a68a1ff74d3ad8e;hp=7f8097e67da2eda2f8acec9441bb34c9964ce509;hpb=14473d4b14dbe29fe2e59eb947fcb05191be0c19;p=civicrm-core.git diff --git a/api/v3/CustomGroup.php b/api/v3/CustomGroup.php index 7f8097e67d..c5cb7ca4a4 100644 --- a/api/v3/CustomGroup.php +++ b/api/v3/CustomGroup.php @@ -1,11 +1,10 @@ id = $params['id']; $values->find(TRUE); - require_once 'CRM/Core/BAO/CustomGroup.php'; $result = CRM_Core_BAO_CustomGroup::deleteGroup($values, TRUE); return $result ? civicrm_api3_create_success() : civicrm_api3_create_error('Error while deleting custom group'); } @@ -121,6 +120,7 @@ function civicrm_api3_custom_group_delete($params) { * * @param array $params Array to search on * + * @return array * @access public * {@getfields CustomGroup_get} * @example CustomGroupGet.php