]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- rename global variable to $_EVENTUM_LAST_NOTIFIED_LIST
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Aug 2006 17:27:47 +0000 (17:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-email-notify-display.patch -> 1.3

eventum-email-notify-display.patch

index 49856cb18d1c08afbe0f4c1f7084ccce0896899d..ffacf8ce35d72424b2c7a0fbc80f1642802ef39e 100644 (file)
 +     */
 +    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];
          }
      }
  
This page took 0.079521 seconds and 4 git commands to generate.