X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FMailingGroup.php;h=cc6ef0cf94b256d700761e3cf497cade1c1a5550;hb=86128f7ae6ab7f8541d6d60664464c1f86fcf6a5;hp=f1a08270bbd12456919559ed4e88c27076656372;hpb=dc362124d06c4fbe9aad170ca44e7c1ddf71c4d1;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, - ); + ]; } /**