CRM-13072 - Fix typo in api getfields sequential
[civicrm-core.git] / api / v3 / MailingGroup.php
index 51f64bb4ae1f67915666dd590209efc43fe6f2b8..9129bc1bc0bd43d39298e208536a42da1993ce19 100644 (file)
  */
 
 /**
- *
  * APIv3 functions for registering/processing mailing group events.
  *
+ * @deprecated
  * @package CiviCRM_APIv3
- * @subpackage API_MailerGroup
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
  */
 
 /**
@@ -43,7 +40,7 @@
  *   to indicate this entire api entity is deprecated
  */
 function _civicrm_api3_mailing_group_deprecation() {
-  return 'The mailing_group api is deprecated. Use the mailing_event apis instead.';
+  return 'The MailingGroup api is deprecated. Use the mailing_event apis instead.';
 }
 
 /**
@@ -158,5 +155,5 @@ function civicrm_api3_mailing_group_getfields($params) {
     unset($field['pseudoconstant']);
   }
 
-  return civicrm_api3_create_success($fields, $params, 'mailing_group', 'getfields');
+  return civicrm_api3_create_success($fields, $params, 'MailingGroup', 'getfields');
 }