- admin web: change revalidate function to revalidate

valid as well as invalid results
This commit is contained in:
David Anderson 2012-11-27 00:13:14 -08:00 committed by Oliver Bock
parent de71ae7f7f
commit 3af9309894
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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 "<br>updated result $result->id\n";
$n++;