Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
c0bb8832
Commit
c0bb8832
authored
Jan 06, 2013
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 826678: Disable warnings about the deprecated Return::Value module when loading Email::Send
r=wicked a=LpSolit
parent
73aac8b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
MTA.pm
Bugzilla/Config/MTA.pm
+6
-0
Requirements.pm
Bugzilla/Install/Requirements.pm
+7
-0
Mailer.pm
Bugzilla/Mailer.pm
+6
-0
No files found.
Bugzilla/Config/MTA.pm
View file @
c0bb8832
...
...
@@ -10,6 +10,12 @@ package Bugzilla::Config::MTA;
use
strict
;
use
Bugzilla::Config::
Common
;
# 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
# to disable these warnings.
BEGIN
{
$
Return::Value::
NO_CLUCK
=
1
;
}
use
Email::
Send
;
our
$sortkey
=
1200
;
...
...
Bugzilla/Install/Requirements.pm
View file @
c0bb8832
...
...
@@ -22,6 +22,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
...
...
Bugzilla/Mailer.pm
View file @
c0bb8832
...
...
@@ -23,6 +23,12 @@ use Encode qw(encode);
use
Encode::MIME::
Header
;
use
Email::
Address
;
use
Email::
MIME
;
# 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
# to disable these warnings.
BEGIN
{
$
Return::Value::
NO_CLUCK
=
1
;
}
use
Email::
Send
;
sub
MessageToMTA
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment