[otrs-cvs] ITSMService/Kernel/System/LinkObject2 Service.pm, 1.2, 1.3

cvs-log at otrs.org cvs-log at otrs.org
Mon Jul 2 14:06:10 GMT 2007


Comments:
Update of /home/cvs/ITSMService/Kernel/System/LinkObject2
In directory lancelot:/tmp/cvs-serv5028/Kernel/System/LinkObject2

Modified Files:
	Service.pm 
Log Message:
Code cleanup.

Author: mh

Index: Service.pm
===================================================================
RCS file: /home/cvs/ITSMService/Kernel/System/LinkObject2/Service.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Service.pm	15 Jun 2007 13:51:34 -0000	1.2
--- Service.pm	2 Jul 2007 14:06:05 -0000	1.3
***************
*** 13,19 ****
  
  use strict;
  
- use Kernel::System::Service;
  use Kernel::System::GeneralCatalog;
  
  use vars qw(@ISA $VERSION);
--- 13,20 ----
  
  use strict;
+ use warnings;
  
  use Kernel::System::GeneralCatalog;
+ use Kernel::System::Service;
  
  use vars qw(@ISA $VERSION);
***************
*** 45,50 ****
          $Self->{$_} = $Param{$_} || die "Got no $_!";
      }
-     $Self->{ServiceObject} = Kernel::System::Service->new(%Param);
      $Self->{GeneralCatalogObject} = Kernel::System::GeneralCatalog->new(%Param);
  
      return $Self;
--- 46,51 ----
          $Self->{$_} = $Param{$_} || die "Got no $_!";
      }
      $Self->{GeneralCatalogObject} = Kernel::System::GeneralCatalog->new(%Param);
+     $Self->{ServiceObject} = Kernel::System::Service->new(%Param);
  
      return $Self;


More information about the cvs-log mailing list