diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 17:55:08 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 17:55:08 +0000 |
| commit | d27934656aa5f005e7a2a9611edae1cfd775dc2c (patch) | |
| tree | 4dbc5d312111dd940067ba76eff4e0f405bb9376 /src | |
| parent | 335f8f720e62d485dff8632f526b81c17d0b95e4 (diff) | |
| download | boca-d27934656aa5f005e7a2a9611edae1cfd775dc2c.tar.gz boca-d27934656aa5f005e7a2a9611edae1cfd775dc2c.zip | |
bfs
Diffstat (limited to 'src')
| -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)); |