CRM-16112 - Revert MailingEventQueue spec change
authorColeman Watts <coleman@civicrm.org>
Tue, 17 Mar 2015 13:31:16 +0000 (09:31 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 17 Mar 2015 13:31:16 +0000 (09:31 -0400)
api/v3/MailingEventQueue.php

index 3229702ae2a7caa57dddcc268f537b7812f42cec..ad63ec1c0a315cc2e08a26961970b8388019e73e 100644 (file)
@@ -85,10 +85,6 @@ function civicrm_api3_mailing_event_queue_delete($params) {
  *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_mailing_event_queue_create_spec(&$params) {
-  $params['job_id'] = array(
-    'api.required' => 1,
-    'type' => CRM_Utils_Type::T_INT,
-    'title' => 'Job ID',
-  );
+  $params['job_id']['api.required'] = 1;
   $params['contact_id']['api.required'] = 1;
 }