[otrs-cvs] CVS: otrs/Kernel/System LinkObject.pm,1.12,1.13

cvs-log at otrs.org cvs-log at otrs.org
Mon Oct 2 15:34:48 CEST 2006


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

Modified Files:
	LinkObject.pm 
Log Message:
added default objetcs to Init()

Index: LinkObject.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/LinkObject.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** LinkObject.pm	2 Oct 2006 11:12:25 -0000	1.12
--- LinkObject.pm	2 Oct 2006 12:34:46 -0000	1.13
***************
*** 67,71 ****
  
      # check needed objects
!     foreach (qw(DBObject ConfigObject LogObject MainObject UserID)) {
          $Self->{$_} = $Param{$_} || die "Got no $_!";
      }
--- 67,71 ----
  
      # check needed objects
!     foreach (qw(DBObject ConfigObject LogObject MainObject TimeObject UserID)) {
          $Self->{$_} = $Param{$_} || die "Got no $_!";
      }
***************
*** 152,156 ****
  
      @ISA = ($GenericModule);
!     $Self->Init(%Param);
      return 1;
  }
--- 152,156 ----
  
      @ISA = ($GenericModule);
!     $Self->Init(%{$Self}, %Param);
      return 1;
  }



More information about the cvs-log mailing list