diff options
author | Arun Persaud <arun@nubati.net> | 2009-09-28 23:39:47 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-09-28 23:39:47 -0700 |
commit | de3f7290a0d3fb90e48c89cf508b38d77db1ccff (patch) | |
tree | 36ea68de047c79b78378a0fb606fb87dc73e408b | |
parent | ba97ac2dae0f582781e713ee9aa8dae0449417a5 (diff) | |
download | e-DoKo-de3f7290a0d3fb90e48c89cf508b38d77db1ccff.tar.gz e-DoKo-de3f7290a0d3fb90e48c89cf508b38d77db1ccff.tar.bz2 e-DoKo-de3f7290a0d3fb90e48c89cf508b38d77db1ccff.zip |
BUGFIX: double greeting line for reminder email
forgot the remove the greeting from the message text.
-rw-r--r-- | include/reminder.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/reminder.php b/include/reminder.php index 61bd37b..ce64c65 100644 --- a/include/reminder.php +++ b/include/reminder.php @@ -35,13 +35,12 @@ if( (time()-strtotime($r[0]) > 60*60*24*7) && ($r[2]!='gameover') ) /* = 1 week $name = DB_get_name('userid',$r[1]); $userhash = DB_get_hash_from_gameid_and_userid($gameid,$r[1]); - $message = "Hello $name, \n\n". - "It's your turn in game ".DB_format_gameid($gameid)." \n". + $message = "It's your turn in game ".DB_format_gameid($gameid)." \n". "Actually everyone else is waiting for you for more than a week now ;)\n\n". "Please visit this link now to continue: \n". " ".$HOST.$INDEX."?action=game&me=".$userhash."\n\n" ; - /* make sure we don't send too many reminders to one person */ + /* make sure we don't send too many reminders to one person */ if(DB_get_reminder($r[1],$gameid)>0) { echo "<p>An email has already been sent out.</p>\n"; |