diff options
author | mkanat%bugzilla.org <> | 2009-09-10 23:47:27 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-10 23:47:27 +0000 |
commit | e5df0d23d4ba0a44118d11d373b932758f2c1600 (patch) | |
tree | 71fdb5ddf04dd797010f8c6cc2a0a4ca01b5c11c | |
parent | Bug 509035: An empty e-mail gets sent to non-timetrackinggroup members if I c... (diff) | |
download | bugzilla-e5df0d23d4ba0a44118d11d373b932758f2c1600.tar.gz bugzilla-e5df0d23d4ba0a44118d11d373b932758f2c1600.tar.bz2 bugzilla-e5df0d23d4ba0a44118d11d373b932758f2c1600.zip |
Bug 515606: Fix the arguments of Bugzilla::Job::Mailer->retry_delay--it's actually a class method, not just a subroutine
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
-rw-r--r-- | Bugzilla/Job/Mailer.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm index 24b589d80..09c387326 100644 --- a/Bugzilla/Job/Mailer.pm +++ b/Bugzilla/Job/Mailer.pm @@ -33,7 +33,7 @@ use constant max_retries => 725; # The first few retries happen quickly, but after that we wait an hour for # each retry. sub retry_delay { - my $num_retries = shift; + my ($class, $num_retries) = @_; if ($num_retries < 5) { return (10, 30, 60, 300, 600)[$num_retries]; } |