projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include green1.gif picture from dreamhost
[e-DoKo.git]
/
include
/
reminder.php
diff --git
a/include/reminder.php
b/include/reminder.php
index 1031decca055927aadfe792399c3b5d59db6dec2..502c40810a0c4cb95d0e90f46fe7c984b9894303 100644
(file)
--- a/
include/reminder.php
+++ b/
include/reminder.php
@@
-67,8
+67,7
@@
if( (time()-strtotime($r[0]) > 60*60*24*7) && ($r[2]!='gameover') ) /* = 1 week
else
{
DB_set_reminder($r[1],$gameid);
else
{
DB_set_reminder($r[1],$gameid);
- $subject ='Reminder: game '.DB_format_gameid($gameid)." it's your turn";
- mymail($r[1],$subject,$message);
+ mymail($r[1],$gameid, GAME_REMINDER, $message);
echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid).
": an email has been sent out.<br /><br /></p>";
echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid).
": an email has been sent out.<br /><br /></p>";