From: Andrew Dolgov Date: Wed, 13 Jan 2010 17:08:18 +0000 (+0300) Subject: remove _DEBUG_USER_SWITCH X-Git-Tag: 1.4.0~59 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f0c33497b1370500a6a26fdb6dd38b1c91e3ad5b;p=tt-rss.git remove _DEBUG_USER_SWITCH --- diff --git a/functions.php b/functions.php index 672d9ef1..369a3bcf 100644 --- a/functions.php +++ b/functions.php @@ -1909,14 +1909,6 @@ function login_sequence($link, $mobile = false) { if (!SINGLE_USER_MODE) { - if (defined('_DEBUG_USER_SWITCH') && $_SESSION["uid"]) { - $swu = db_escape_string($_REQUEST["swu"]); - if ($swu) { - $_SESSION["prefs_cache"] = false; - return authenticate_user($link, $swu, null, true); - } - } - $login_action = $_POST["login_action"]; # try to authenticate user if called from login form diff --git a/prefs.php b/prefs.php index 8a0b5237..656bdaf1 100644 --- a/prefs.php +++ b/prefs.php @@ -149,16 +149,6 @@
- - - Tiny Tiny RSS v diff --git a/tt-rss.php b/tt-rss.php index bf5575b9..0cd784ee 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -254,16 +254,6 @@