Skip to content

Commit

Permalink
fucking git..
Browse files Browse the repository at this point in the history
  • Loading branch information
kestasjk committed Sep 4, 2011
1 parent c155959 commit f0e0520
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 130 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ orderlogs/
*.tgz
*.tbz
*.bz2
cache/
/cache/
/variants/*/cache/*
/mapstore/
/doc/phpDoc/
pointslog.txt
Expand All @@ -17,4 +18,5 @@ pointlog.txt
/.buildpath
/.project
/datc/maps/
!.htaccess
!.htaccess

2 changes: 1 addition & 1 deletion admin/adminActionsRestricted.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function globalAddTime(array $params)
$DB->sql_put('UPDATE wD_Games SET processTime = processTime+'.round($timeHours*60*60).'
WHERE processStatus="Not-processing" AND NOT phase="Finished" AND
(
( phase="Pre-game" AND processTime-'.time().'<=phaseMinutes*60 )
( phase="Pre-game" AND processTime<=phaseMinutes*60+'.time().' )
OR (NOT phase="Pre-game" AND '.round($timeHours*60*60).'<=phaseMinutes*60 )
)');

Expand Down
Loading

0 comments on commit f0e0520

Please sign in to comment.