diff options
author | Arun Persaud <arun@nubati.net> | 2011-03-20 00:40:54 -0700 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2011-03-20 00:40:54 -0700 |
commit | 08583506b9bdb4ef2d30bad9752c960f20fe54b6 (patch) | |
tree | f8fac0f7b889afccf3bc0d3b30fd523c0ff2ee07 /include/user.php | |
parent | 455372db985024563b26bfa5af9c91b2a8e53c06 (diff) | |
download | e-DoKo-08583506b9bdb4ef2d30bad9752c960f20fe54b6.tar.gz e-DoKo-08583506b9bdb4ef2d30bad9752c960f20fe54b6.tar.bz2 e-DoKo-08583506b9bdb4ef2d30bad9752c960f20fe54b6.zip |
CLEANUP: added gameid to mymail and generate subject line in mymail directly
this way it will be easier to add translation and also to add the gameid into the database for the digest
Diffstat (limited to 'include/user.php')
-rw-r--r-- | include/user.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/user.php b/include/user.php index e8d38f7..2c3afeb 100644 --- a/include/user.php +++ b/include/user.php @@ -75,8 +75,7 @@ if(myisset('forgot')) "to log into the server. The new password is valid for 24h, so make\n". "sure you reset your password to something new. Your old password will\n". "also still be valid until you set a new one.\n"; - $subject = 'Recovery'; - mymail($myid,$subject,$message); + mymail($myid,0, GAME_RECOVERY, $message); /* we save these in the database */ DB_set_recovery_password($myid,md5($newpw)); |