[otrs-cvs] otrs/Kernel/System Ticket.pm,1.254,1.255

cvs-log at otrs.org cvs-log at otrs.org
Thu Apr 12 23:57:21 GMT 2007


Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv13958/Kernel/System

Modified Files:
	Ticket.pm 
Log Message:
Improved @ISA handling.

Author: martin

Index: Ticket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket.pm,v
retrieving revision 1.254
retrieving revision 1.255
diff -C2 -d -r1.254 -r1.255
*** Ticket.pm	28 Mar 2007 21:21:56 -0000	1.254
--- Ticket.pm	12 Apr 2007 23:57:16 -0000	1.255
***************
*** 40,45 ****
  $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
  
- @ISA = ('Kernel::System::Ticket::Article');
- 
  =head1 NAME
  
--- 40,43 ----
***************
*** 100,107 ****
      my $Self = {};
      bless ($Self, $Type);
- 
      # 0=off; 1=on;
      $Self->{Debug} = $Param{Debug} || 0;
  
      # get needed objects
      foreach (qw(ConfigObject LogObject TimeObject DBObject MainObject)) {
--- 98,107 ----
      my $Self = {};
      bless ($Self, $Type);
      # 0=off; 1=on;
      $Self->{Debug} = $Param{Debug} || 0;
  
+     # set @ISA
+     @ISA = ('Kernel::System::Ticket::Article');
+ 
      # get needed objects
      foreach (qw(ConfigObject LogObject TimeObject DBObject MainObject)) {
***************
*** 2719,2723 ****
          # OrderBy and SortBy (optional)
          OrderBy => 'Down',      # Down|Up
!         SortBy => 'Age',        # Owner|CustomerID|State|Ticket|Queue|Priority|Age|Type|Service|SLA
                                  # TicketFreeTime1-2|TicketFreeKey1-16|TicketFreeText1-16
  
--- 2719,2723 ----
          # OrderBy and SortBy (optional)
          OrderBy => 'Down',      # Down|Up
!         SortBy => 'Age',        # Owner|CustomerID|State|Ticket|Queue|Priority|Age|Type|Lock|Service|SLA
                                  # TicketFreeTime1-2|TicketFreeKey1-16|TicketFreeText1-16
  


More information about the cvs-log mailing list