From b13d4a69b1a43523802839a0fbab0e5ad191d5dc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 3 May 2014 05:43:09 -0700 Subject: [PATCH] test fix - add extra fns to system_log api --- api/v3/SystemLog.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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'); } -- 2.25.1