From: Marius Gavrilescu Date: Tue, 31 Mar 2015 09:58:07 +0000 (+0300) Subject: Ignore private jobs in update_status X-Git-Tag: 5999.000_014~35 X-Git-Url: http://git.ieval.ro/?p=gruntmaster-data.git;a=commitdiff_plain;h=1761e17008dea7ffccda24edf9ab69e6bc6944ec Ignore private jobs in update_status --- 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))) {