Ignore private jobs in update_status
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 09:58:07 +0000 (12:58 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 09:58:07 +0000 (12:58 +0300)
lib/Gruntmaster/Data.pm

index 58be648c9f7da756e0e6f75d99ce0e383c336b31..dd0a92bb9a7e19c2d46bebb490be79f5610147a6 100644 (file)
@@ -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))) {
This page took 0.011515 seconds and 4 git commands to generate.