aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Field
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 /Bugzilla/Field
parent45f67203b182d6a64b9708a22d82a21e455deb74 (diff)
downloadbugs-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar
bugs-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar.gz
bugs-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar.bz2
bugs-b4adb1ab4c7e3c34d64b92530602ca38144f249b.tar.xz
bugs-b4adb1ab4c7e3c34d64b92530602ca38144f249b.zip
Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Field')
-rw-r--r--Bugzilla/Field/Choice.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Field/Choice.pm b/Bugzilla/Field/Choice.pm
index bbf96beb9..b3bca0dd2 100644
--- a/Bugzilla/Field/Choice.pm
+++ b/Bugzilla/Field/Choice.pm
@@ -10,7 +10,7 @@ package Bugzilla::Field::Choice;
use 5.10.1;
use strict;
-use base qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object);
+use parent qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object);
use Bugzilla::Config qw(SetParam write_params);
use Bugzilla::Constants;
@@ -95,7 +95,7 @@ sub type {
if (!defined *{"${package}::DB_TABLE"}) {
eval <<EOC;
package $package;
- use base qw(Bugzilla::Field::Choice);
+ use parent qw(Bugzilla::Field::Choice);
use constant DB_TABLE => '$field_name';
EOC
}