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 --- doeditparams.cgi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doeditparams.cgi') 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 "
";
-system("./syncshadowdb", "-v") if (Param("shadowdb"));
-print "
"; +if (Param("updateshadowdb")) { + print "
";
+    system("./syncshadowdb", "-v");
+    print "
"; +} print "OK, done.

\n"; print "Edit the params some more.

\n"; -- cgit v1.2.3-24-g4f1b