return $result;
}
+/**
+ * Adjust metadata for cxn unregister.
+ *
+ * @param array $spec
+ */
function _civicrm_api3_cxn_unregister_spec(&$spec) {
$daoFields = CRM_Cxn_DAO_Cxn::fields();
$spec['cxn_guid'] = $daoFields['cxn_guid'];
return $cxnId;
}
+/**
+ * Adjust metadata for cxn get action.
+ *
+ * @param array $spec
+ */
function _civicrm_api3_cxn_get_spec(&$spec) {
// Don't trust AJAX callers or other external code to modify, filter, or return the secret.
unset($spec['secret']);