summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/RequestNagger')
-rw-r--r--extensions/RequestNagger/Config.pm3
-rw-r--r--extensions/RequestNagger/Extension.pm1
-rwxr-xr-xextensions/RequestNagger/bin/send-request-nags.pl2
-rw-r--r--extensions/RequestNagger/lib/Bug.pm3
-rw-r--r--extensions/RequestNagger/lib/Constants.pm3
-rw-r--r--extensions/RequestNagger/lib/Settings.pm2
6 files changed, 13 insertions, 1 deletions
diff --git a/extensions/RequestNagger/Config.pm b/extensions/RequestNagger/Config.pm
index 6b9488c80..a338cd441 100644
--- a/extensions/RequestNagger/Config.pm
+++ b/extensions/RequestNagger/Config.pm
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::RequestNagger;
+
+use 5.10.1;
use strict;
+use warnings;
use constant NAME => 'RequestNagger';
use constant REQUIRED_MODULES => [ ];
diff --git a/extensions/RequestNagger/Extension.pm b/extensions/RequestNagger/Extension.pm
index 63d79040e..65f5e6b84 100644
--- a/extensions/RequestNagger/Extension.pm
+++ b/extensions/RequestNagger/Extension.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::RequestNagger;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/RequestNagger/bin/send-request-nags.pl b/extensions/RequestNagger/bin/send-request-nags.pl
index 03ff8b4ea..b3c654956 100755
--- a/extensions/RequestNagger/bin/send-request-nags.pl
+++ b/extensions/RequestNagger/bin/send-request-nags.pl
@@ -11,7 +11,7 @@ use strict;
use warnings;
use FindBin qw($RealBin);
-use lib "$RealBin/../../..";
+use lib ("$RealBin/../../..", "$RealBin/../../../lib", "$RealBin/../../../local/lib/perl5");
use Bugzilla;
BEGIN { Bugzilla->extensions() }
diff --git a/extensions/RequestNagger/lib/Bug.pm b/extensions/RequestNagger/lib/Bug.pm
index bd5bb7fd7..974a688ea 100644
--- a/extensions/RequestNagger/lib/Bug.pm
+++ b/extensions/RequestNagger/lib/Bug.pm
@@ -7,7 +7,10 @@
package Bugzilla::Extension::RequestNagger::Bug;
+use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Bug);
use feature 'state';
diff --git a/extensions/RequestNagger/lib/Constants.pm b/extensions/RequestNagger/lib/Constants.pm
index 435c0b167..bc6cf3371 100644
--- a/extensions/RequestNagger/lib/Constants.pm
+++ b/extensions/RequestNagger/lib/Constants.pm
@@ -7,7 +7,10 @@
package Bugzilla::Extension::RequestNagger::Constants;
+use 5.10.1;
use strict;
+use warnings;
+
use base qw(Exporter);
our @EXPORT = qw(
diff --git a/extensions/RequestNagger/lib/Settings.pm b/extensions/RequestNagger/lib/Settings.pm
index 5407eac1d..393d224ba 100644
--- a/extensions/RequestNagger/lib/Settings.pm
+++ b/extensions/RequestNagger/lib/Settings.pm
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::RequestNagger::Settings;
+
+use 5.10.1;
use strict;
use warnings;