diff options
Diffstat (limited to 'include/cancelgame.php')
-rw-r--r-- | include/cancelgame.php | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |