diff options
author | Andrew Dolgov <[email protected]> | 2010-01-13 20:08:18 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-13 20:08:18 +0300 |
commit | f0c33497b1370500a6a26fdb6dd38b1c91e3ad5b (patch) | |
tree | f960fa22370122ab6680b5b120976296bfe6ab60 /functions.php | |
parent | 1a697fa300eb82d6c1dafe0ff3c77207623279a6 (diff) |
remove _DEBUG_USER_SWITCH
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 8 |
1 files changed, 0 insertions, 8 deletions
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 |