From 0b3c7a86c2fde61534543a0ace9076e5362a07de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Wed, 27 Jul 2011 01:09:04 +0200 Subject: bug 841: Doh, forgot to remove dead code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tänzer --- includes/loggedin.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/loggedin.php b/includes/loggedin.php index 4a3b89e..270af51 100644 --- a/includes/loggedin.php +++ b/includes/loggedin.php @@ -42,14 +42,6 @@ if($_SERVER['HTTP_HOST'] == $_SESSION['_config']['securehostname'] && ($_SESSION['profile']['id'] == 0 || $_SESSION['profile']['loggedin'] == 0)) { - /* identify unique certs serial number related to root or subroot */ - $query = "select * from `emailcerts` where - `serial`='${_SERVER['SSL_CLIENT_M_SERIAL']}' and - `rootcert`='".rootcertid($_SERVER['SSL_CLIENT_I_DN_CN'])."' and - `revoked`=0 and disablelogin=0 and - UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() > 0"; - $res = mysql_query($query); - $user_id = get_user_id_from_cert($_SERVER['SSL_CLIENT_M_SERIAL'], $_SERVER['SSL_CLIENT_I_DN_CN']); -- cgit v1.2.1