+ */
+ 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];
+ }
+
*/
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;
}
$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];
}
}