summaryrefslogtreecommitdiffstats
path: root/extensions/Example
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-12-01 02:18:21 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-01 02:18:21 +0100
commitb4adb1ab4c7e3c34d64b92530602ca38144f249b (patch)
treee1c088d37f09b8b54bbde313b60f1ff874f2cf78 /extensions/Example
parent45f67203b182d6a64b9708a22d82a21e455deb74 (diff)
downloadbugzilla-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar.gz
bugzilla-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar.xz
Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit
Diffstat (limited to 'extensions/Example')
-rw-r--r--extensions/Example/Extension.pm2
-rw-r--r--extensions/Example/lib/Auth/Login.pm2
-rw-r--r--extensions/Example/lib/Auth/Verify.pm2
-rw-r--r--extensions/Example/lib/WebService.pm2
4 files changed, 4 insertions, 4 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index b3b1b299f..6b85ace42 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -7,7 +7,7 @@
package Bugzilla::Extension::Example;
use strict;
-use base qw(Bugzilla::Extension);
+use parent qw(Bugzilla::Extension);
use Bugzilla::Constants;
use Bugzilla::Error;
diff --git a/extensions/Example/lib/Auth/Login.pm b/extensions/Example/lib/Auth/Login.pm
index f87831157..03ca2481d 100644
--- a/extensions/Example/lib/Auth/Login.pm
+++ b/extensions/Example/lib/Auth/Login.pm
@@ -7,7 +7,7 @@
package Bugzilla::Extension::Example::Auth::Login;
use strict;
-use base qw(Bugzilla::Auth::Login);
+use parent qw(Bugzilla::Auth::Login);
use constant user_can_create_account => 0;
use Bugzilla::Constants;
diff --git a/extensions/Example/lib/Auth/Verify.pm b/extensions/Example/lib/Auth/Verify.pm
index 0d068b2e1..0a0b40232 100644
--- a/extensions/Example/lib/Auth/Verify.pm
+++ b/extensions/Example/lib/Auth/Verify.pm
@@ -7,7 +7,7 @@
package Bugzilla::Extension::Example::Auth::Verify;
use strict;
-use base qw(Bugzilla::Auth::Verify);
+use parent qw(Bugzilla::Auth::Verify);
use Bugzilla::Constants;
# A verifier that always fails.
diff --git a/extensions/Example/lib/WebService.pm b/extensions/Example/lib/WebService.pm
index 659189d2f..e5e14af53 100644
--- a/extensions/Example/lib/WebService.pm
+++ b/extensions/Example/lib/WebService.pm
@@ -8,7 +8,7 @@
package Bugzilla::Extension::Example::WebService;
use strict;
use warnings;
-use base qw(Bugzilla::WebService);
+use parent qw(Bugzilla::WebService);
use Bugzilla::Error;
# This can be called as Example.hello() from the WebService.