CRM-15578 - Mailing API - Revert irrelevant changes
authorTim Otten <totten@civicrm.org>
Fri, 14 Nov 2014 03:10:00 +0000 (19:10 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 14 Nov 2014 04:47:32 +0000 (20:47 -0800)
api/v3/Mailing.php

index bf5f71696708250dd03c3227102bed40143d588e..481bd09bba2c5eb4c320eabb9c40568a7e09f6a9 100755 (executable)
@@ -87,8 +87,8 @@ function _civicrm_api3_mailing_create_spec(&$params) {
   $params['subject']['api.required'] = 1;
   $params['created_id']['api.required'] = 1;
   $params['created_id']['api.default'] = 'user_contact_id';
-//  $params['api.mailing_job.create']['api.default'] = 1;
-//  $params['api.mailing_job.create']['title'] = 'Schedule Mailing?';
+  $params['api.mailing_job.create']['api.default'] = 1;
+  $params['api.mailing_job.create']['title'] = 'Schedule Mailing?';
 }
 
 /**
@@ -250,7 +250,7 @@ function civicrm_api3_mailing_event_forward($params) {
  */
 function _civicrm_api3_mailing_event_forward_spec(&$params) {
   $params['job_id']['api.required'] = 1;
-  $params['g_id']['title'] = 'Job ID';
+  $params['job_id']['title'] = 'Job ID';
   $params['event_queue_id']['api.required'] = 1;
   $params['event_queue_id']['title'] = 'Event Queue ID';
   $params['hash']['api.required'] = 1;