From 1761e17008dea7ffccda24edf9ab69e6bc6944ec Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 31 Mar 2015 12:58:07 +0300 Subject: [PATCH] Ignore private jobs in update_status --- lib/Gruntmaster/Data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 58be648..dd0a92b 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -261,7 +261,7 @@ sub standings { } sub update_status { - my $jobs = $db->select('jobs', 'id,owner,problem,result', {}, 'id'); + my $jobs = $db->select('jobs', 'id,owner,problem,result', {-not_bool => 'private'}, 'id'); my %hash; while ($jobs->into(my ($id, $owner, $problem, $result))) { -- 2.39.2