diff options
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Bugzilla.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Classification.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Group.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Product.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/README | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Server/XMLRPC.pm | 4 | ||||
-rw-r--r-- | Bugzilla/WebService/User.pm | 2 | ||||
-rw-r--r-- | Bugzilla/WebService/Util.pm | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 6e352568a..a7f8446ec 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Bug; use 5.10.1; use strict; -use base qw(Bugzilla::WebService); +use parent qw(Bugzilla::WebService); use Bugzilla::Comment; use Bugzilla::Constants; diff --git a/Bugzilla/WebService/Bugzilla.pm b/Bugzilla/WebService/Bugzilla.pm index d220d3c73..6fd7a023a 100644 --- a/Bugzilla/WebService/Bugzilla.pm +++ b/Bugzilla/WebService/Bugzilla.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Bugzilla; use 5.10.1; use strict; -use base qw(Bugzilla::WebService); +use parent qw(Bugzilla::WebService); use Bugzilla::Constants; use Bugzilla::Util qw(datetime_from); use Bugzilla::WebService::Util qw(validate filter_wants); diff --git a/Bugzilla/WebService/Classification.pm b/Bugzilla/WebService/Classification.pm index a3344b1c5..c104994a5 100644 --- a/Bugzilla/WebService/Classification.pm +++ b/Bugzilla/WebService/Classification.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Classification; use 5.10.1; use strict; -use base qw (Bugzilla::WebService); +use parent qw (Bugzilla::WebService); use Bugzilla::Classification; use Bugzilla::Error; diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 126cd7947..624ab6e09 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Constants; use 5.10.1; use strict; -use base qw(Exporter); +use parent qw(Exporter); our @EXPORT = qw( WS_ERROR_CODE diff --git a/Bugzilla/WebService/Group.pm b/Bugzilla/WebService/Group.pm index 79ce1658b..e9aa405f6 100644 --- a/Bugzilla/WebService/Group.pm +++ b/Bugzilla/WebService/Group.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Group; use 5.10.1; use strict; -use base qw(Bugzilla::WebService); +use parent qw(Bugzilla::WebService); use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::WebService::Util qw(validate translate params_to_objects); diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index 30a97c465..fc48ecd88 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Product; use 5.10.1; use strict; -use base qw(Bugzilla::WebService); +use parent qw(Bugzilla::WebService); use Bugzilla::Product; use Bugzilla::User; use Bugzilla::Error; 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 diff --git a/Bugzilla/WebService/Server/XMLRPC.pm b/Bugzilla/WebService/Server/XMLRPC.pm index f55bd6cf2..b4af1ab94 100644 --- a/Bugzilla/WebService/Server/XMLRPC.pm +++ b/Bugzilla/WebService/Server/XMLRPC.pm @@ -79,7 +79,7 @@ package Bugzilla::XMLRPC::Deserializer; use 5.10.1; use strict; -# We can't use "use base" because XMLRPC::Serializer doesn't return +# We can't use "use parent" because XMLRPC::Serializer doesn't return # a true value. use XMLRPC::Lite; our @ISA = qw(XMLRPC::Deserializer); @@ -204,7 +204,7 @@ use 5.10.1; use strict; use Scalar::Util qw(blessed); -# We can't use "use base" because XMLRPC::Serializer doesn't return +# We can't use "use parent" because XMLRPC::Serializer doesn't return # a true value. use XMLRPC::Lite; our @ISA = qw(XMLRPC::Serializer); diff --git a/Bugzilla/WebService/User.pm b/Bugzilla/WebService/User.pm index 527ca95a3..b8a3763a2 100644 --- a/Bugzilla/WebService/User.pm +++ b/Bugzilla/WebService/User.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::User; use 5.10.1; use strict; -use base qw(Bugzilla::WebService); +use parent qw(Bugzilla::WebService); use Bugzilla::Constants; use Bugzilla::Error; diff --git a/Bugzilla/WebService/Util.pm b/Bugzilla/WebService/Util.pm index 57a55a599..9e20a1e06 100644 --- a/Bugzilla/WebService/Util.pm +++ b/Bugzilla/WebService/Util.pm @@ -10,7 +10,7 @@ package Bugzilla::WebService::Util; use 5.10.1; use strict; -use base qw(Exporter); +use parent qw(Exporter); # We have to "require", not "use" this, because otherwise it tries to # use features of Test::More during import(). |