]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-strip-bcc.patch
- show message queued date in localtime according to user preferrence
[packages/eventum.git] / eventum-strip-bcc.patch
1 http://mysql.bkbits.net:8080/eventum/cset@1.523?nav=index.html|ChangeSet@-7d
2
3 diff -Naru a/ChangeLog b/ChangeLog
4 diff -Naru a/include/class.notification.php b/include/class.notification.php
5 --- a/include/class.notification.php    2005-04-05 01:44:57 -07:00
6 +++ b/include/class.notification.php    2005-04-05 01:44:57 -07:00
7 @@ -309,14 +309,14 @@
8          $header_names = Mime_Helper::getHeaderNames($_headers);
9          // we don't want to keep the (B)Cc list for an eventum-based email
10          $ignore_headers = array(
11 -            'To',
12 -            'Cc',
13 -            'Bcc'
14 +            'to',
15 +            'cc',
16 +            'bcc'
17          );
18          $headers = array();
19          // build the headers array required by the smtp library
20          foreach ($structure->headers as $header_name => $value) {
21 -            if ((in_array($header_name, $ignore_headers)) ||
22 +            if ((in_array(strtolower($header_name), $ignore_headers)) ||
23                      (!in_array($header_name, array_keys($header_names))) ||
24                      (strstr($header_name, ' '))) {
25                  continue;
26 # This is a BitKeeper generated diff -Nru style patch.
27 #
28 # ChangeSet
29 #   2005/04/05 00:47:33-05:00 bryan@mysql.com 
30 #   Strip CC and BCC headers from outgoing emails.
31
32 # ChangeLog
33 #   2005/04/05 00:47:32-05:00 bryan@mysql.com +1 -0
34 #   Strip CC and BCC headers from outgoing emails.
35
36 # include/class.notification.php
37 #   2005/04/05 00:47:32-05:00 bryan@mysql.com +4 -4
38 #   Strip CC and BCC headers from outgoing emails.
39
This page took 0.07744 seconds and 3 git commands to generate.