projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-25-23-42-42
[civicrm-core.git]
/
api
/
v3
/
MailingJob.php
diff --git
a/api/v3/MailingJob.php
b/api/v3/MailingJob.php
index 9b761819529f617be123a9f937e125bc36adf7de..82d132e511871741c44d76553f1a7c36f91e1fba 100644
(file)
--- a/
api/v3/MailingJob.php
+++ b/
api/v3/MailingJob.php
@@
-2,9
+2,9
@@
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | 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. |
| |
@@
-32,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$
*
*/
@@
-41,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.
*/
@@
-65,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
@@
-74,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);
+}
+