summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-01-06 00:26:36 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-06 00:26:36 +0100
commitd758a8169eacbccc0a65d6fd68e49f8eb8b713be (patch)
treed52cbe76cced45b2b7717ac0a6a6c2de8e6616cb /Bugzilla/Install
parentaea14709d4e25299cfe3aa3b0dc76344727f7b0b (diff)
downloadbugzilla-d758a8169eacbccc0a65d6fd68e49f8eb8b713be.tar.gz
bugzilla-d758a8169eacbccc0a65d6fd68e49f8eb8b713be.tar.xz
Bug 826678: Disable warnings about the deprecated Return::Value module when loading Email::Send
r=wicked a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Requirements.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 1e7fc97c6..39cacedb0 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -32,6 +32,13 @@ use List::Util qw(max);
use Safe;
use Term::ANSIColor;
+# Return::Value 1.666002 pollutes the error log with warnings about this
+# deprecated module. We have to set NO_CLUCK = 1 before loading Email::Send
+# in have_vers() to disable these warnings.
+BEGIN {
+ $Return::Value::NO_CLUCK = 1;
+}
+
use base qw(Exporter);
our @EXPORT = qw(
REQUIRED_MODULES