summaryrefslogtreecommitdiffstats
path: root/doeditparams.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-19 16:19:29 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-19 16:19:29 +0100
commite1f21df3faf10cafc492e9bd7a9329f7f96e95ca (patch)
tree24ee7967e094d165bf4ff77a46e4afe4e7a56034 /doeditparams.cgi
parent1f71df249d99f8392dbce1b47a05fdd03bec48b1 (diff)
downloadbugzilla-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.gz
bugzilla-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.xz
Bug 124589 - support database replication
r=myk, a=justdave
Diffstat (limited to 'doeditparams.cgi')
-rwxr-xr-xdoeditparams.cgi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doeditparams.cgi b/doeditparams.cgi
index de40075f1..4dd4f8b52 100755
--- a/doeditparams.cgi
+++ b/doeditparams.cgi
@@ -101,9 +101,11 @@ foreach my $i (GetParamList()) {
WriteParams();
unlink "data/versioncache";
-print "<PRE>";
-system("./syncshadowdb", "-v") if (Param("shadowdb"));
-print "</PRE>";
+if (Param("updateshadowdb")) {
+ print "<PRE>";
+ system("./syncshadowdb", "-v");
+ print "</PRE>";
+}
print "OK, done.<p>\n";
print "<a href=editparams.cgi>Edit the params some more.</a><p>\n";