--CRM-16187, fixed jenkin warnings
[civicrm-core.git] / api / v3 / SurveyRespondant.php
index e834e2b1def32fd9b17aab68af307213074b8970..88b31c492349325674d5d2e979b666643d3d2d18 100644 (file)
  *
  * @deprecated api notice
  * @return string
- *   to indicate this entire api entity is deprecated
+ *   String output indicates this entire api entity as deprecated
  */
 function _civicrm_api3_survey_respondant_deprecation() {
-  return 'The survey_respondant api is not currently supported.';
+  return 'The SurveyRespondant api is not currently supported.';
 }
 
 /**
@@ -77,7 +77,7 @@ function civicrm_api3_survey_respondant_get(&$params) {
 
   $respondants = CRM_Campaign_BAO_Survey::getSurveyActivities($surveyID, $interviewerID, $statusIds);
 
-  return (civicrm_api3_create_success($respondants, $params));
+  return (civicrm_api3_create_success($respondants, $params, 'SurveyRespondant', 'get'));
 }
 
 /**