diff options
author | lpsolit%gmail.com <> | 2009-11-22 23:24:07 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-11-22 23:24:07 +0100 |
commit | 86a245f0ab0d6f331f7bc911e62994a105e78693 (patch) | |
tree | 23dae272419ab9e61b66bb19c32a29165d0950fc /Bugzilla | |
parent | 0dda0671f523bc36c492095a9962f8f4fe6f0c1e (diff) | |
download | bugzilla-86a245f0ab0d6f331f7bc911e62994a105e78693.tar.gz bugzilla-86a245f0ab0d6f331f7bc911e62994a105e78693.tar.xz |
Bug 530270: Whining fails if mail queueing is enabled - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/JobQueue.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm index 9e7172e2b..1046cf2c3 100644 --- a/Bugzilla/JobQueue.pm +++ b/Bugzilla/JobQueue.pm @@ -43,9 +43,11 @@ sub new { } my $lc = Bugzilla->localconfig; + # We need to use the main DB as TheSchwartz module is going + # to write to it. my $self = $class->SUPER::new( databases => [{ - dsn => Bugzilla->dbh->{private_bz_dsn}, + dsn => Bugzilla->dbh_main->{private_bz_dsn}, user => $lc->{db_user}, pass => $lc->{db_pass}, prefix => 'ts_', |