From f0c33497b1370500a6a26fdb6dd38b1c91e3ad5b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Jan 2010 20:08:18 +0300 Subject: [PATCH] remove _DEBUG_USER_SWITCH --- functions.php | 8 -------- prefs.php | 10 ---------- tt-rss.php | 10 ---------- 3 files changed, 28 deletions(-) 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 @@