summaryrefslogtreecommitdiffstats
path: root/include/cancelgame.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-05-11 22:18:42 -0700
committerArun Persaud <arun@nubati.net>2009-05-11 22:18:42 -0700
commit5d8e85ce8d71532d9adbdac2653d7c092a7157f2 (patch)
treeb535a83689e394f81ac60c83a8e5bc48b215a6be /include/cancelgame.php
parent0edb4b26c049e07af0970e081fab699d2bdd333b (diff)
downloade-DoKo-5d8e85ce8d71532d9adbdac2653d7c092a7157f2.tar.gz
e-DoKo-5d8e85ce8d71532d9adbdac2653d7c092a7157f2.tar.bz2
e-DoKo-5d8e85ce8d71532d9adbdac2653d7c092a7157f2.zip
BUGFIX: one email message still had a hard-coded header
this resulted in two "hello" lines being sent out. fixed
Diffstat (limited to 'include/cancelgame.php')
-rw-r--r--include/cancelgame.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cancelgame.php b/include/cancelgame.php
index b0b4db9..22be185 100644
--- a/include/cancelgame.php
+++ b/include/cancelgame.php
@@ -36,8 +36,7 @@ $myname = DB_get_name('hash',$me);
$r = DB_query_array("SELECT mod_date from Game WHERE id='$gameid' " );
if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */
{
- $message = "Hello, \n\n".
- "Game ".DB_format_gameid($gameid).
+ $message = "Game ".DB_format_gameid($gameid).
" has been canceled since nothing happend for a while and $myname requested it.\n\n";
/* email to all players */