From b4adb1ab4c7e3c34d64b92530602ca38144f249b Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Sat, 1 Dec 2012 02:18:21 +0100 Subject: Bug 787668: Use |use parent| instead of |use base| r/a=LpSolit --- Bugzilla/WebService/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/WebService/README') diff --git a/Bugzilla/WebService/README b/Bugzilla/WebService/README index bbe320979..eb4799cfc 100644 --- a/Bugzilla/WebService/README +++ b/Bugzilla/WebService/README @@ -11,7 +11,7 @@ When XMLRPC::Lite calls a method, $self is the name of the *class* the method is in. For example, if we call Bugzilla.version(), the first argument is Bugzilla::WebService::Bugzilla. So in order to have $self (our first argument) act correctly in XML-RPC, we make all WebService -classes use base qw(Bugzilla::WebService). +classes use parent qw(Bugzilla::WebService). When JSON::RPC calls a method, $self is the JSON-RPC *server object*. In other words, it's an instance of Bugzilla::WebService::Server::JSONRPC. So we have -- cgit v1.2.3-24-g4f1b