From e1f21df3faf10cafc492e9bd7a9329f7f96e95ca Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Tue, 19 Nov 2002 15:19:29 +0000 Subject: Bug 124589 - support database replication r=myk, a=justdave --- Bugzilla/Config.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Config.pm') diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index 534367ce0..25792d476 100644 --- a/Bugzilla/Config.pm +++ b/Bugzilla/Config.pm @@ -138,7 +138,11 @@ sub SetParam { my $entry = $params{$name}; # sanity check the value - if (exists $entry->{'checker'}) { + + # XXX - This runs the checks. Which would be good, except that + # check_shadowdb creates the database as a sideeffect, and so the + # checker fails the second time arround... + if ($name ne 'shadowdb' && exists $entry->{'checker'}) { my $err = $entry->{'checker'}->($value, $entry); die "Param $name is not valid: $err" unless $err eq ''; } -- cgit v1.2.3-24-g4f1b