mirror of https://github.com/BOINC/boinc.git
- admin web: change revalidate function to revalidate
valid as well as invalid results
This commit is contained in:
parent
de71ae7f7f
commit
3af9309894
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue