Merge pull request #14981 from eileenmcnaughton/load_extract
[civicrm-core.git] / api / v3 / MailingEventQueue.php
index becbf4f6dfe4662dde229d3a12990049b909b86d..87e9b2ba9bc7b390bfea904725b16a298a0ae232 100644 (file)
@@ -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.                                    |
  |                                                                    |
@@ -47,7 +47,7 @@ function civicrm_api3_mailing_event_queue_create($params) {
   }
   civicrm_api3_verify_mandatory($params,
     'CRM_Mailing_DAO_MailingJob',
-    array('job_id', 'contact_id'),
+    ['job_id', 'contact_id'],
     FALSE
   );
   return _civicrm_api3_basic_create('CRM_Mailing_Event_BAO_Queue', $params, 'Queue');