X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FActivityType.php;h=ff5dafc94247c54af9e9bd38255403699ad10e4c;hb=4f87ec96e8ba594ad1705a8806999bd0bc976bb0;hp=66bc99ab4f388af6d75c3b4443ea92091923a1ac;hpb=414b3228db09432f1e389a89f9fb9e3f22d0f2da;p=civicrm-core.git diff --git a/api/v3/ActivityType.php b/api/v3/ActivityType.php index 66bc99ab4f..ff5dafc942 100644 --- a/api/v3/ActivityType.php +++ b/api/v3/ActivityType.php @@ -1,9 +1,9 @@ 1, + 'title' => 'Label', + 'type' => CRM_Utils_Type::T_STRING, + ); + $params['weight'] = array( + 'api.required' => 1, + 'title' => 'Weight', + 'type' => CRM_Utils_Type::T_STRING, + ); } /** - * delete activity type + * Delete ActivityType. * * @param array $params * Array including id of activity_type to delete. - + * * @return array * API result array * - * @deprecated - we will introduce OptionValue Delete- plse consider helping with this if not done + * @deprecated use OptionValue api */ function civicrm_api3_activity_type_delete($params) { return civicrm_api3_create_success(CRM_Core_BAO_OptionValue::del($params['id']), $params);