<?php
-/* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
*
* This file is part of e-DoKo.
*
if(!isset($HOST))
exit;
-/* display the menu */
-output_status();
-
/* you should only get here from a game page, so $me should be set */
if(!myisset("me"))
{
$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 */