Re-fix for bug 95082: allow syncshadowdb to continue to make queries while Bugzilla is shut down.

Patch by Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com
parent 669eed6c
...@@ -202,7 +202,7 @@ sub SendSQL { ...@@ -202,7 +202,7 @@ sub SendSQL {
} }
# If we are shutdown, we don't want to run queries except in special cases # If we are shutdown, we don't want to run queries except in special cases
if (Param('shutdownhtml')) { if (Param('shutdownhtml')) {
if ($0 =~ m:[\\/](do)?editparams.cgi$:) { if ($0 =~ m:[\\/]((do)?editparams.cgi|syncshadowdb)$:) {
$::ignorequery = 0; $::ignorequery = 0;
} else { } else {
$::ignorequery = 1; $::ignorequery = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment