summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php4
1 files changed, 0 insertions, 4 deletions
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 */