diff options
author | 2005-11-14 01:50:47 +0000 | |
---|---|---|
committer | 2005-11-14 01:50:47 +0000 | |
commit | 03352ccf9bdb6b816e0650f8f76e008a17df87c0 (patch) | |
tree | 8a641b8c42abdd70b94bb3a9c87fe9a0788cb6be /whine.pl | |
parent | Bug 301062: [PostgreSQL] whine.pl fails when using PostgreSQL 8.0.x - Patch b... (diff) | |
download | bugzilla-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.gz bugzilla-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.bz2 bugzilla-03352ccf9bdb6b816e0650f8f76e008a17df87c0.zip |
Bug 313695: buglist.cgi and some other scripts do not use the shadow DB anymore - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'whine.pl')
-rwxr-xr-x | whine.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -323,7 +323,7 @@ while (my $event = get_next_event) { # We loop for each target user because some of the queries will be using # subjective pronouns - Bugzilla->switch_to_shadow_db(); + $dbh = Bugzilla->switch_to_shadow_db(); for my $target (@{$event->{'mailto'}}) { my $args = { 'subject' => $event->{'subject'}, @@ -348,7 +348,7 @@ while (my $event = get_next_event) { mail($args); } - Bugzilla->switch_to_main_db(); + $dbh = Bugzilla->switch_to_main_db(); } ################################################################################ |