BUGFIX: two greetings messages in cancelation email for five nines.
authorArun Persaud <arun@nubati.net>
Fri, 29 May 2009 20:11:00 +0000 (13:11 -0700)
committerArun Persaud <arun@nubati.net>
Fri, 29 May 2009 20:11:00 +0000 (13:11 -0700)
removed the hard-coded one.

include/game.php

index a11e6b6eb48d64c56370b2c497dcfbaeb402e753..5c367e954891bdcc3b583ee0926e854477e37233 100644 (file)
@@ -589,11 +589,10 @@ switch($mystatus)
        else if($nines)
          {
            /* cancel game */
-           $message = "Hello, \n\n".
-             " the game has been canceled because ".DB_get_name('userid',$nines).
-             " has five or more nines and nobody is playing solo.\n\n".
-             " To redeal either start a new game or, in case the game was part of a tournament, \n".
-             " go to the last game and use the link at the bottom of the page to redeal.\n\n";
+           $message = "the game has been canceled because ".DB_get_name('userid',$nines).
+             "has five or more nines and nobody is playing solo.\n\n".
+             "To redeal either start a new game or, in case the game was part of a tournament,\n".
+             "go to the last game and use the link at the bottom of the page to redeal.\n\n";
 
            $userids = DB_get_all_userid_by_gameid($gameid);
            foreach($userids as $user)