From: Eileen McNaughton Date: Sat, 3 May 2014 12:43:09 +0000 (-0700) Subject: test fix - add extra fns to system_log api X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b13d4a69b1a43523802839a0fbab0e5ad191d5dc;p=civicrm-core.git test fix - add extra fns to system_log api --- diff --git a/api/v3/SystemLog.php b/api/v3/SystemLog.php index 2c54d4482b..90809ca386 100644 --- a/api/v3/SystemLog.php +++ b/api/v3/SystemLog.php @@ -37,6 +37,29 @@ * */ +/** + * @param $params + * + * @return array + */ +function civicrm_api3_system_log_delete($params) { + return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, True, 'SystemLog'); +} + +/** + * @param $params + * + * @return array + */ +function civicrm_api3_system_log_create($params) { + return civicrm_api3('system', 'log', $params); +} + +/** + * @param $params + * + * @return array + */ function civicrm_api3_system_log_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, True, 'SystemLog'); }