SOURCES: eventum-email-notify-display.patch - rename global variab...
glen
glen at pld-linux.org
Wed Aug 30 19:27:52 CEST 2006
Author: glen Date: Wed Aug 30 17:27:52 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- rename global variable to $_EVENTUM_LAST_NOTIFIED_LIST
---- Files affected:
SOURCES:
eventum-email-notify-display.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/eventum-email-notify-display.patch
diff -u SOURCES/eventum-email-notify-display.patch:1.2 SOURCES/eventum-email-notify-display.patch:1.3
--- SOURCES/eventum-email-notify-display.patch:1.2 Wed Aug 30 19:27:01 2006
+++ SOURCES/eventum-email-notify-display.patch Wed Aug 30 19:27:47 2006
@@ -13,15 +13,15 @@
+ */
+ function getLastNotifiedAddresses($issue_id = null)
+ {
-+ global $subscriberNotifyList;
++ global $_EVENTUM_LAST_NOTIFIED_LIST;
+
+ if (is_null($issue_id)) {
+ // return all addresses in flat view
-+ return array_values($subscriberNotifyList);
++ return array_values($_EVENTUM_LAST_NOTIFIED_LIST);
+ }
+
+ // return address list for specific issue_id only.
-+ return $subscriberNotifyList[$issue_id];
++ return $_EVENTUM_LAST_NOTIFIED_LIST[$issue_id];
+ }
+
@@ -31,7 +31,7 @@
*/
function notifySubscribers($issue_id, $emails, $type, $data, $subject, $internal_only, $type_id = false, $headers = false)
{
-+ global $subscriberNotifyList;
++ global $_EVENTUM_LAST_NOTIFIED_LIST;
+
// open text template
$tpl = new Template_API;
@@ -41,7 +41,7 @@
}
$mail->send($from, $emails[$i], $full_subject, TRUE, $issue_id, $final_type, $sender_usr_id, $type_id);
+
-+ $subscriberNotifyList[$issue_id][] = $emails[$i];
++ $_EVENTUM_LAST_NOTIFIED_LIST[$issue_id][] = $emails[$i];
}
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-email-notify-display.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list