From 4ab5b869e5e30735f150cf9563a8bd951a134ae8 Mon Sep 17 00:00:00 2001
From: Arun Persaud <arun@nubati.net>
Date: Sun, 17 Jun 2007 21:53:29 +0200
Subject: BUGFIX: CC'ed on final game allowed to view different accounts

When people got CC'ed on the final email, they also got copies of everyones
email and the link to the game in that email. That way they could go to the
user page of a different user.

Removed CC option and will just send out two emails from now on. The first one to
all players (reply all possible) and the second one with the personal link.
---
 db.php | 8 --------
 1 file changed, 8 deletions(-)

(limited to 'db.php')

diff --git a/db.php b/db.php
index a444360..dee6529 100644
--- a/db.php
+++ b/db.php
@@ -753,14 +753,6 @@ function DB_get_PREF($myid)
     else
       $PREF["cardset"]="english";
 
-    $result = mysql_query("SELECT value from User_Prefs".
-			  " WHERE user_id='$myid' AND pref_key='ccemail'" );
-    $r = mysql_fetch_array($result,MYSQL_NUM);
-    if($r)
-      $PREF["ccemail"]=$r[0];
-    else
-      $PREF["ccemail"]="no";
-
     return;
 }
 
-- 
cgit v1.2.3-18-g5258