From d661e260855977d34672388cfa8766de55a73f93 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 13 Feb 2009 23:40:26 -0800 Subject: CLEANUP: make emails more uniform provide a standard header and footer. Also prepare for emails to be send to the database for later delivery. --- include/cancelgame.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cancelgame.php') diff --git a/include/cancelgame.php b/include/cancelgame.php index 357d226..2240203 100644 --- a/include/cancelgame.php +++ b/include/cancelgame.php @@ -44,8 +44,8 @@ if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */ $userids = DB_get_all_userid_by_gameid($gameid); foreach($userids as $user) { - $To = DB_get_email('userid',$user); - mymail($To,$EmailName."game ".DB_format_gameid($gameid)." canceled (timed out)",$message); + $subject = "Game ".DB_format_gameid($gameid)." canceled (timed out)"; + mymail($user,$subject,$message); } /* delete everything from the dB */ -- cgit v1.2.3-18-g5258