X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FMailingGroup.php;h=cc6ef0cf94b256d700761e3cf497cade1c1a5550;hb=f8e09beda27ede84319b8f47fd3f94d0a9b6762d;hp=f1a08270bbd12456919559ed4e88c27076656372;hpb=fd84c05fc84f5b3dc1e42912c3b7f3b03f5fd575;p=civicrm-core.git diff --git a/api/v3/MailingGroup.php b/api/v3/MailingGroup.php index f1a08270bb..cc6ef0cf94 100644 --- a/api/v3/MailingGroup.php +++ b/api/v3/MailingGroup.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -41,12 +41,12 @@ */ function _civicrm_api3_mailing_group_deprecation() { $message = 'This action is deprecated. Use the mailing_event API instead.'; - return array( + return [ 'event_unsubscribe' => $message, 'event_domain_unsubscribe' => $message, 'event_resubscribe' => $message, 'event_subscribe' => $message, - ); + ]; } /**