[otrs-cvs] ITSMCore/bin otrs.AddService.pl,1.5,1.6

"CVS commits notifications of OTRS.org" <[email protected]> Tue, 19 Mar 2013 16:26:17 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMCore/bin
In directory lancelot:/tmp/cvs-serv4662/bin

Modified Files:
	otrs.AddService.pl 
Log Message:
Fixed bug# 8764 - @ARGV encoding for command line scripts.

Author: ub

Index: otrs.AddService.pl
===================================================================
RCS file: /home/cvs/ITSMCore/bin/otrs.AddService.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -2 -u -d -r1.5 -r1.6
--- otrs.AddService.pl	23 Jan 2013 14:57:07 -0000	1.5
+++ otrs.AddService.pl	19 Mar 2013 16:26:12 -0000	1.6
@@ -52,4 +52,17 @@
 my %CommonObject;
 
+# create common objects
+$CommonObject{ConfigObject} = Kernel::Config->new();
+$CommonObject{EncodeObject} = Kernel::System::Encode->new(%CommonObject);
+$CommonObject{LogObject}
+    = Kernel::System::Log->new( %CommonObject, LogPrefix => 'OTRS-otrs.AddService' );
+$CommonObject{MainObject}    = Kernel::System::Main->new(%CommonObject);
+$CommonObject{DBObject}      = Kernel::System::DB->new(%CommonObject);
+$CommonObject{ServiceObject} = Kernel::System::Service->new(%CommonObject);
+# ---
+# ITSM
+# ---
+$CommonObject{CatalogObject} = Kernel::System::GeneralCatalog->new(%CommonObject);
+# ---
 my $NoOptions = $ARGV[0] ? 0 : 1;
 
@@ -78,19 +91,4 @@
 }
 
-# create common objects
-$CommonObject{ConfigObject} = Kernel::Config->new();
-$CommonObject{EncodeObject} = Kernel::System::Encode->new(%CommonObject);
-$CommonObject{LogObject}
-    = Kernel::System::Log->new( %CommonObject, LogPrefix => 'OTRS-otrs.AddService' );
-$CommonObject{MainObject}    = Kernel::System::Main->new(%CommonObject);
-$CommonObject{DBObject}      = Kernel::System::DB->new(%CommonObject);
-$CommonObject{ServiceObject} = Kernel::System::Service->new(%CommonObject);
-# ---
-# ITSM
-# ---
-$CommonObject{CatalogObject} = Kernel::System::GeneralCatalog->new(%CommonObject);
-
-# ---
-
 my $ServiceName;
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log