X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fcancelgame.php;h=412812684fd6ea1eb2dc37e1425e50ffec73ab34;hp=98cbca2d351da10ebcebadf8c1c9d118a6c80cf7;hb=f55dbd7a08908c0443b5ed9d20c2dc74bb8b1026;hpb=f47ddae6b4d00d950c3a29d6b7536ce1ae9ac813 diff --git a/include/cancelgame.php b/include/cancelgame.php index 98cbca2..4128126 100644 --- 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) { - $subject = "Game ".DB_format_gameid($gameid)." canceled (timed out)"; - mymail($user,$subject,$message); + mymail($user,$gameid, GAME_CANCELED_TIMEOUT, $message); } /* set gamestatus to canceled */