[otrs-cvs] otrs/Kernel/System DB.pm,1.75,1.75.2.1

cvs-log at otrs.org cvs-log at otrs.org
Tue Feb 5 16:31:35 GMT 2008


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

Modified Files:
      Tag: rel-2_2
	DB.pm 
Log Message:
Added MainObject to pod documentation for DB.pm.

Author: ub

Index: DB.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DB.pm,v
retrieving revision 1.75
retrieving revision 1.75.2.1
diff -C2 -d -r1.75 -r1.75.2.1
*** DB.pm	28 Aug 2007 20:02:13 -0000	1.75
--- DB.pm	5 Feb 2008 16:31:30 -0000	1.75.2.1
***************
*** 1,5 ****
  # --
  # Kernel/System/DB.pm - the global database wrapper to support different databases
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/System/DB.pm - the global database wrapper to support different databases
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 7,11 ****
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  # --
  
--- 7,11 ----
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  # --
  
***************
*** 42,45 ****
--- 42,46 ----
      use Kernel::Config;
      use Kernel::System::Log;
+     use Kernel::System::Main;
      use Kernel::System::DB;
  
***************
*** 48,55 ****
--- 49,61 ----
          ConfigObject => $ConfigObject,
      );
+     my $MainObject = Kernel::System::Main->new(
+         LogObject => $LogObject,
+         ConfigObject => $ConfigObject,
+     );
  
      $DBObject = Kernel::System::DB->new(
          ConfigObject => $ConfigObject,
          LogObject => $LogObject,
+         MainObject => $MainObject,
          # if you don't use the follow params, then this are used
          # from Kernel/Config.pm!
***************
*** 808,812 ****
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  
  =cut
--- 814,818 ----
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  
  =cut


More information about the cvs-log mailing list