diff options
| -rw-r--r-- | src/frun.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frun.php b/src/frun.php index 9cf4bf9..81e3824 100644 --- a/src/frun.php +++ b/src/frun.php @@ -728,9 +728,6 @@ function DBNewRun($param,$c=null) { $oid2 = $lr['autostderr']; } $runinc = $runnumber - 1; - // if($updatetime > $t) { - //DBExec($c, "update sitetable set sitenextrun=$runnumber" . - // " where sitenumber=$site and contestnumber=$contest and sitenextrun<$runnumber", "DBNewRun(update site)"); } else { $runnumber = $a["nextrun"] + 1; DBExec($c, "update sitetable set sitenextrun=$runnumber" . @@ -759,6 +756,8 @@ function DBNewRun($param,$c=null) { $dif = $rundatediff; } + if($updatetime > $t || $insert) { + // LOGError($autostdout); if(substr($autostdout,0,7)=="base64:") { $autostdout = base64_decode(substr($autostdout,7)); |