projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUGFIX: if you win a trick, you don't have to reload the page from now on.
[e-DoKo.git]
/
include
/
cancelgame.php
diff --git
a/include/cancelgame.php
b/include/cancelgame.php
index 98cbca2d351da10ebcebadf8c1c9d118a6c80cf7..da6ffcc18e637bc7f820e6e14c7d93e710cbb5cb 100644
(file)
--- a/
include/cancelgame.php
+++ b/
include/cancelgame.php
@@
-1,5
+1,5
@@
<?php
<?php
-/* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010
, 2011, 2012
Arun Persaud <arun@nubati.net>
*
* This file is part of e-DoKo.
*
*
* This file is part of e-DoKo.
*
@@
-62,8
+62,7
@@
if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */
$userids = DB_get_all_userid_by_gameid($gameid);
foreach($userids as $user)
{
$userids = DB_get_all_userid_by_gameid($gameid);
foreach($userids as $user)
{
- $subject = "Game ".DB_format_gameid($gameid)." canceled (timed out)";
- mymail($user,$subject,$message);
+ mymail($user,$gameid, GAME_CANCELED_TIMEOUT, $message);
}
/* set gamestatus to canceled */
}
/* set gamestatus to canceled */