[otrs-cvs] CVS: ITSMCMDB/Kernel/Modules AgentITSMCMDB.pm,1.46,1.47

cvs-log at otrs.org cvs-log at otrs.org
Mon Nov 13 18:05:38 CET 2006


Update of /home/cvs/ITSMCMDB/Kernel/Modules
In directory lancelot:/tmp/cvs-serv4335/Kernel/Modules

Modified Files:
	AgentITSMCMDB.pm 
Log Message:
replace die()

Index: AgentITSMCMDB.pm
===================================================================
RCS file: /home/cvs/ITSMCMDB/Kernel/Modules/AgentITSMCMDB.pm,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -r1.46 -r1.47
*** AgentITSMCMDB.pm	13 Nov 2006 10:27:27 -0000	1.46
--- AgentITSMCMDB.pm	13 Nov 2006 17:05:35 -0000	1.47
***************
*** 1,5 ****
  # --
  # Kernel/Modules/AgentITSMCMDB.pm - the ITSMCMDB module
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/Modules/AgentITSMCMDB.pm - the ITSMCMDB module
! # Copyright (C) 2003-2006 OTRS GmbH, http://otrs.com/
  # --
  # $Id$
***************
*** 34,38 ****
      # check needed Opjects
      foreach (qw(ParamObject DBObject LayoutObject LogObject ConfigObject)) {
!         die "Got no $_!" if (!$Self->{$_});
      }
      $Self->{ITSMCMDBObject} = Kernel::System::ITSMCMDB->new(%Param);
--- 34,40 ----
      # check needed Opjects
      foreach (qw(ParamObject DBObject LayoutObject LogObject ConfigObject)) {
!         if (!$Self->{$_}) {
!             $Self->{LayoutObject}->FatalError(Message => "Got no $_!")
!         }
      }
      $Self->{ITSMCMDBObject} = Kernel::System::ITSMCMDB->new(%Param);



More information about the cvs-log mailing list