projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3156 from KarinG/CRM-14570
[civicrm-core.git]
/
api
/
v3
/
MailingJob.php
diff --git
a/api/v3/MailingJob.php
b/api/v3/MailingJob.php
index 15b6afa5d0705ba421e2a1a00e1ab3696eabd39a..82d132e511871741c44d76553f1a7c36f91e1fba 100644
(file)
--- a/
api/v3/MailingJob.php
+++ b/
api/v3/MailingJob.php
@@
-1,11
+1,10
@@
<?php
<?php
-// $Id$
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-33,7
+32,7
@@
*
* @package CiviCRM_APIv3
* @subpackage API_Mailing
*
* @package CiviCRM_APIv3
* @subpackage API_Mailing
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-42,8
+41,6
@@
* Files required for this package
*/
* Files required for this package
*/
-
-
/**
* Handle creation of a Mailing Job for a Mailing.
*/
/**
* Handle creation of a Mailing Job for a Mailing.
*/
@@
-66,7
+63,9
@@
function _civicrm_api3_mailing_job_create_spec(&$params) {
/**
* Returns array of Mailing Jobs matching a set of one or more group properties
*
/**
* Returns array of Mailing Jobs matching a set of one or more group properties
*
- * @param array $params Array of one or more valid
+ * @param array $params Array of one or more valid
+ * @param array $ids
+ *
* @return array API return Array of matching mailing jobs
* {@getfields mailing_job_get}
* @access public
* @return array API return Array of matching mailing jobs
* {@getfields mailing_job_get}
* @access public
@@
-75,3
+74,10
@@
function civicrm_api3_mailing_job_get($params, $ids = array()) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
+/**
+ * Handle deletion of a Mailing Job for a Mailing.
+ */
+function civicrm_api3_mailing_job_delete($params) {
+ return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+}
+