diff options
Diffstat (limited to 'src/frun.php')
| -rw-r--r-- | src/frun.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/frun.php b/src/frun.php index 34bfd83..5576bcd 100644 --- a/src/frun.php +++ b/src/frun.php @@ -753,14 +753,17 @@ function DBNewRun($param,$c=null) { return 0; } } else { - $b = DBSiteInfo($contest, $site, $c); - $dif = $rundatediff; - if ($dif >= $b['siteduration']) { - DBExec($c, "rollback work", "DBNewRun(rollback-over)"); - LOGError("Tried to submit a run but the contest is over. SQL=(" . $sql . ")"); - MSGError("The contest is over!"); - return 0; - } + //cassiopc: so we let the run enter the system if it comes with a defined timestamp, but it is to decide later if it will be counted... + //$b = DBSiteInfo($contest, $site, $c); + $dif = $rundatediff; + /* + if ($dif >= $b['siteduration']) { + DBExec($c, "rollback work", "DBNewRun(rollback-over)"); + LOGError("Tried to submit a run but the contest is over. SQL=(" . $sql . ")"); + MSGError("The contest is over!"); + return 0; + } + */ } if($updatetime > $t || $insert) { |