function civicrm_api3_grant_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
CRM_Contact_BAO_Group::discard($params['id']);
return civicrm_api3_create_success(TRUE);
}
-
'update_status' => 'GroupContact "update_status" action is deprecated in favor of "create".',
);
}
-
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
$result = CRM_Contact_BAO_GroupOrganization::deleteGroupOrganization($params['id']);
return $result ? civicrm_api3_create_success('Deleted Group Organization successfully') : civicrm_api3_create_error('Could not delete Group Organization');
}
-
function civicrm_api3_im_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
function civicrm_api3_location_delete($params) {
return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
}
-
function civicrm_api3_location_type_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
function civicrm_api3_mail_settings_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
$params['hash']['api.required'] = 1;
$params['hash']['title'] = 'Hash';
}
-
$params['hash']['api.required'] = 1;
$params['hash']['title'] = 'Hash';
}
-
$params['group_id']['api.required'] = 1;
$params['group_id']['title'] = 'Unsubscribe From Group';
}
-
$params['event_queue_id']['api.required'] = 1;
$params['event_queue_id']['title'] = 'Mailing Queue ID';
}
-
function civicrm_api3_mailing_job_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
function civicrm_api3_membership_block_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-
function civicrm_api3_membership_payment_get($params) {
return _civicrm_api3_basic_get('CRM_Member_DAO_MembershipPayment', $params);
}
-
$dao->free();
return $result;
}
-