mirror of https://github.com/BOINC/boinc.git
parent
b288405f98
commit
9665363a2e
|
@ -31,8 +31,8 @@ function show_next_job($app, $user) {
|
|||
<p>
|
||||
Please try again later.
|
||||
";
|
||||
page_tail();
|
||||
}
|
||||
page_tail();
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -283,6 +283,10 @@ function clear_batch($batch_id) {
|
|||
} else {
|
||||
echo "Database error.";
|
||||
}
|
||||
$jobs = BossaJob::enum("batch_id=$batch_id");
|
||||
foreach ($jobs as $job) {
|
||||
$job->update("state=1");
|
||||
}
|
||||
admin_page_tail();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue