[otrs-cvs] iPhoneHandle/bin/cgi-bin json.pl,1.25,1.26
"CVS commits notifications of OTRS.org" <[email protected]> Wed, 10 Jul 2013 14:48:57 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/iPhoneHandle/bin/cgi-bin
In directory lancelot:/tmp/cvs-serv9539/bin/cgi-bin
Modified Files:
json.pl
Log Message:
Fixed bug#9591 - Package "Core" is declared both in rpc.pl and in iPhoneHandle's json.pl.
Author: mb
Index: json.pl
===================================================================
RCS file: /home/cvs/iPhoneHandle/bin/cgi-bin/json.pl,v
retrieving revision 1.25
retrieving revision 1.26
diff -2 -u -d -r1.25 -r1.26
--- json.pl 4 Jan 2013 02:16:26 -0000 1.25
+++ json.pl 10 Jul 2013 14:48:52 -0000 1.26
@@ -1,3 +1,3 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# bin/cgi-bin/json.pl - json handle
@@ -56,11 +56,10 @@
$VERSION = qw($Revision$) [1];
-my $Self = Core->new();
+my $Self = {};
+bless($Self);
print "Content-Type: text/plain; \n";
print "\n";
print $Self->Dispatch();
-package Core;
-
sub new {
my ( $Type, %Param ) = @_;
---------------------------------------------------------------------
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