projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349b6fa
)
Add phpdoc comment to random recipients function
author
David Knoll
<david@futurefirst.org.uk>
Tue, 30 Sep 2014 22:31:18 +0000
(23:31 +0100)
committer
David Knoll
<david@futurefirst.org.uk>
Tue, 30 Sep 2014 22:31:18 +0000
(23:31 +0100)
CRM/Mailing/BAO/Recipients.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Recipients.php
b/CRM/Mailing/BAO/Recipients.php
index a4fc9e6525f9fe86c02cfb32bd52db1340e88be2..b5e11acb01c8fc224d24c24c979df15ebe5e10e5 100644
(file)
--- a/
CRM/Mailing/BAO/Recipients.php
+++ b/
CRM/Mailing/BAO/Recipients.php
@@
-85,6
+85,16
@@
WHERE mailing_id = %1
return CRM_Core_DAO::executeQuery($sql, $params);
}
+ /**
+ * Moves a number of randomly-chosen recipients of one Mailing to another Mailing.
+ *
+ * @param int $mailingIdC
+ * Source mailing ID
+ * @param int $newMailingID
+ * Destination mailing ID
+ * @param int $totalLimit
+ * Number of recipients to move
+ */
static function updateRandomRecipients($mailingIdC, $newMailingID, $totalLimit = NULL) {
$limitString = NULL;
if ($totalLimit) {