From 9665363a2edfd6a1397c637b1751cc136df91b9b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 27 May 2011 19:05:23 +0000 Subject: [PATCH] - Bossa tweaks svn path=/trunk/boinc/; revision=23617 --- html/inc/bossa_impl.inc | 2 +- html/ops/bossa_admin.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/html/inc/bossa_impl.inc b/html/inc/bossa_impl.inc index d9a273f854..0e036ae09f 100644 --- a/html/inc/bossa_impl.inc +++ b/html/inc/bossa_impl.inc @@ -31,8 +31,8 @@ function show_next_job($app, $user) {

Please try again later. "; + page_tail(); } - page_tail(); } ?> diff --git a/html/ops/bossa_admin.php b/html/ops/bossa_admin.php index 90b2a5f587..ca14f6a097 100644 --- a/html/ops/bossa_admin.php +++ b/html/ops/bossa_admin.php @@ -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(); }