test fix - add extra fns to system_log api
[civicrm-core.git] / api / v3 / SystemLog.php
index 2c54d4482b606ac11d2c9a6265228555a3f52dab..90809ca386c2a728c0c7ceb9f9ff28a36bcc470b 100644 (file)
  *
  */
 
+/**
+ * @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');
 }