projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f7508
)
Do not mark problems as open before contest start
author
Marius Gavrilescu
<marius@ieval.ro>
Fri, 14 Feb 2014 17:44:45 +0000
(19:44 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Fri, 14 Feb 2014 17:44:45 +0000
(19:44 +0200)
lib/Gruntmaster/Page/Pb/Entry.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Page/Pb/Entry.pm
b/lib/Gruntmaster/Page/Pb/Entry.pm
index 8b770efe3a24bcc5f193675171a685e364480227..4cf007edcd1760d3eaf7dea49298ad942d52265f 100644
(file)
--- a/
lib/Gruntmaster/Page/Pb/Entry.pm
+++ b/
lib/Gruntmaster/Page/Pb/Entry.pm
@@
-13,7
+13,7
@@
sub _generate{
my ($self, $htc, $lang, $env, $contest, $id) = @_;
debug $env => "language is '$lang', contest is '$contest', id is '$id'";
my $user = $env->{REMOTE_USER};
- if ($contest && $user) {
+ if ($contest && $user
&& time >= contest_start $contest
) {
local $Gruntmaster::Data::contest = $contest;
mark_open $id, $user;
debug $env => "Marking problem $id of contest $contest open by $user";
This page took
0.010978 seconds
and
4
git commands to generate.