- Bossa tweaks

svn path=/trunk/boinc/; revision=23617
This commit is contained in:
David Anderson 2011-05-27 19:05:23 +00:00
parent b288405f98
commit 9665363a2e
2 changed files with 5 additions and 1 deletions

View File

@ -31,8 +31,8 @@ function show_next_job($app, $user) {
<p>
Please try again later.
";
page_tail();
}
page_tail();
}
?>

View File

@ -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();
}