projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LAYOUT: fixed user home page a bit
[e-DoKo.git]
/
include
/
cancelgame.php
diff --git
a/include/cancelgame.php
b/include/cancelgame.php
index 98cbca2d351da10ebcebadf8c1c9d118a6c80cf7..412812684fd6ea1eb2dc37e1425e50ffec73ab34 100644
(file)
--- a/
include/cancelgame.php
+++ b/
include/cancelgame.php
@@
-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 */