aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-19 15:19:29 +0000
committerbbaetz%student.usyd.edu.au <>2002-11-19 15:19:29 +0000
commite1f21df3faf10cafc492e9bd7a9329f7f96e95ca (patch)
tree24ee7967e094d165bf4ff77a46e4afe4e7a56034 /doeditparams.cgi
parentFix for bug 179881: makes the "Requests" link in the footer be "My Requests" ... (diff)
downloadbugzilla-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.gz
bugzilla-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.bz2
bugzilla-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.zip
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";