From: Marius Gavrilescu Date: Mon, 30 Mar 2015 12:40:58 +0000 (+0300) Subject: Do not return solution during contests X-Git-Tag: 5999.000_014~43 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d33e87f2633f4da6fd9569f6f7db4b1f54c478c2;p=gruntmaster-data.git Do not return solution during contests --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 2706f94..301bdfd 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -125,6 +125,7 @@ sub problem_entry { if ($contest) { $ret->{contest_start} = $contest->{start}; $ret->{contest_stop} = $contest->{stop}; + delete $ret->{solution} } $ret