[otrs-cvs] CVS: Advisory/Kernel/System/PostMaster/Filter DAF.pm, 1.2, 1.3

cvs-log at otrs.org cvs-log at otrs.org
Tue Dec 5 11:56:15 CET 2006


Update of /home/cvs/Advisory/Kernel/System/PostMaster/Filter
In directory lancelot:/tmp/cvs-serv23998/Kernel/System/PostMaster/Filter

Modified Files:
	DAF.pm 
Log Message:
changes and improvements for a better branch

Index: DAF.pm
===================================================================
RCS file: /home/cvs/Advisory/Kernel/System/PostMaster/Filter/DAF.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** DAF.pm	2 Mar 2005 09:32:42 -0000	1.2
--- DAF.pm	5 Dec 2006 10:56:13 -0000	1.3
***************
*** 1,5 ****
  # --
  # Kernel/System/PostMaster/Filter/DAF.pm - sub part of PostMaster.pm
! # Copyright (C) 2003-2005 OTRS GmbH, http://www.otrs.de/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/System/PostMaster/Filter/DAF.pm - sub part of PostMaster.pm
! # Copyright (C) 2003-2006 OTRS GmbH, http://otrs.com/
  # --
  # $Id$
***************
*** 20,24 ****
  $VERSION =~ s/^.*:\s(\d+\.\d+)\s.*$/$1/;
  
- # --
  sub new {
      my $Type = shift;
--- 20,23 ----
***************
*** 42,46 ****
      return $Self;
  }
! # --
  sub Run {
      my $Self = shift;
--- 41,45 ----
      return $Self;
  }
! 
  sub Run {
      my $Self = shift;
***************
*** 69,79 ****
              if ($Attachment->{Content} =~ /<\!DOCTYPE DAF-Document/i || $Attachment->{Content} =~ /<EISPP-Advisory/i) {
                  $DAF = 1;
- #print STDERR "DOCTYPE DAF-Document\n";
                  if ($Self->{Debug}) {
                      $Self->{LogObject}->Log(
!                        Priority => 'debug',
!                        Message => "DAF-Document found!",
!                    );
!                }
              }
          }
--- 68,77 ----
              if ($Attachment->{Content} =~ /<\!DOCTYPE DAF-Document/i || $Attachment->{Content} =~ /<EISPP-Advisory/i) {
                  $DAF = 1;
                  if ($Self->{Debug}) {
                      $Self->{LogObject}->Log(
!                         Priority => 'debug',
!                         Message => "DAF-Document found!",
!                     );
!                 }
              }
          }
***************
*** 99,111 ****
              }
          }
- #        print $Attachment->{Filename};
- #        print $Attachment->{Charset};
- #        print $Attachment->{MimeType};
- #        print $Attachment->{ContentType};
- #        print $Attachment->{Content};
      }
  
      return 1;
  }
! # --
  1;
--- 97,104 ----
              }
          }
      }
  
      return 1;
  }
! 
  1;



More information about the cvs-log mailing list