From 52d88392dad52ec4d5607fef7479d74dee8b8be4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Apr 2013 12:00:01 +0400 Subject: move db-prefs to OO --- include/functions.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 42aebec83..3c8e9d62c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -744,12 +744,9 @@ } function login_sequence() { - $_SESSION["prefs_cache"] = false; - if (SINGLE_USER_MODE) { @session_start(); authenticate_user("admin", null); - cache_prefs(); load_user_plugins($_SESSION["uid"]); } else { if (!validate_session()) $_SESSION["uid"] = false; @@ -783,7 +780,6 @@ } if ($_SESSION["uid"]) { - cache_prefs(); load_user_plugins($_SESSION["uid"]); /* cleanup ccache */ -- cgit v1.2.3