From 3af9309894f60099b1520877fe020add76643f1d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 27 Nov 2012 00:13:14 -0800 Subject: [PATCH] - admin web: change revalidate function to revalidate valid as well as invalid results --- checkin_notes | 7 +++++++ html/ops/revalidate.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 70681e5ca4..f7acf3a4bc 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7043,3 +7043,10 @@ David 26 Nov 2012 client_state.cpp html/inc/ submit_db.inc + +David 26 Nov 2012 + - admin web: change revalidate function to revalidate + valid as well as invalid results + + html/ops/ + revalidate.php diff --git a/html/ops/revalidate.php b/html/ops/revalidate.php index 4ef4ff1acd..8570976cb9 100644 --- a/html/ops/revalidate.php +++ b/html/ops/revalidate.php @@ -56,7 +56,7 @@ function revalidate($clause) { foreach ($results as $result) { if ($result->server_state != 5) continue; if ($result->outcome != 1) continue; - if ($result->validate_state < 2) continue; + if ($result->validate_state < 1) continue; $result->update("validate_state=0"); echo "
updated result $result->id\n"; $n++;