From fc8d84dac640f4382bd784fe80b445d1d7381f4c Mon Sep 17 00:00:00 2001 From: Nikki Date: Thu, 8 Oct 2015 16:35:38 -0400 Subject: [PATCH] Adding is_visible spec, removing show hushed --- api/v3/System.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/api/v3/System.php b/api/v3/System.php index 14e515d855..84a4eb17c3 100644 --- a/api/v3/System.php +++ b/api/v3/System.php @@ -84,9 +84,8 @@ function _civicrm_api3_system_flush_spec(&$params) { */ function _civicrm_api3_system_check_spec(&$spec) { // $spec['magicword']['api.required'] = 1; - $spec['show_hushed'] = array( - 'api.default' => FALSE, - 'title' => 'Show hushed', + $spec['is_visible'] = array( + 'title' => 'is visible', 'type' => CRM_Utils_Type::T_BOOLEAN, ); } @@ -114,7 +113,7 @@ function civicrm_api3_system_check($params) { $returnValues[] = $msg->toArray() + array('id' => $id++); } - return _civicrm_api3_basic_array_get('systemCheck', $params, $returnValues, id, array('id', 'name', 'message', 'title', 'severity', 'isVisible')); + return _civicrm_api3_basic_array_get('systemCheck', $params, $returnValues, id, array('id', 'name', 'message', 'title', 'severity', 'is_visible')); } /** -- 2.25.1