From: Marius Gavrilescu Date: Thu, 3 Mar 2016 16:35:45 +0000 (+0000) Subject: Purge standings in finish_job X-Git-Tag: 5999.000_016~4 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=05fc1e15ee42bdde7243d1c798a5face4aa49146;p=gruntmaster-data.git Purge standings in finish_job --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index da2b3c5..5e5c238 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -270,6 +270,7 @@ sub finish_job { db->update(jobs => \%args, {id => $job->{id}}); purge '/log/'; purge '/log/' . $job->{id}; + purge '/st/' . $job->{contest} if $job->{contest}; return if $private; my $status = { problem => $job->{problem},