From f0c33497b1370500a6a26fdb6dd38b1c91e3ad5b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Jan 2010 20:08:18 +0300 Subject: remove _DEBUG_USER_SWITCH --- functions.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 672d9ef1d..369a3bcf7 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 -- cgit v1.2.3-54-g00ecf