summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template/Plugin')
-rw-r--r--Bugzilla/Template/Plugin/Bugzilla.pm4
-rw-r--r--Bugzilla/Template/Plugin/Hook.pm6
2 files changed, 8 insertions, 2 deletions
diff --git a/Bugzilla/Template/Plugin/Bugzilla.pm b/Bugzilla/Template/Plugin/Bugzilla.pm
index e2b59c7a8..806dd903b 100644
--- a/Bugzilla/Template/Plugin/Bugzilla.pm
+++ b/Bugzilla/Template/Plugin/Bugzilla.pm
@@ -7,9 +7,11 @@
package Bugzilla::Template::Plugin::Bugzilla;
+use 5.10.1;
use strict;
+use warnings;
-use base qw(Template::Plugin);
+use parent qw(Template::Plugin);
use Bugzilla;
diff --git a/Bugzilla/Template/Plugin/Hook.pm b/Bugzilla/Template/Plugin/Hook.pm
index f1de7a602..669c77614 100644
--- a/Bugzilla/Template/Plugin/Hook.pm
+++ b/Bugzilla/Template/Plugin/Hook.pm
@@ -6,8 +6,12 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Template::Plugin::Hook;
+
+use 5.10.1;
use strict;
-use base qw(Template::Plugin);
+use warnings;
+
+use parent qw(Template::Plugin);
use Bugzilla::Constants;
use Bugzilla::Install::Util qw(template_include_path);