summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 12:00:01 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 12:00:01 +0400
commit52d88392dad52ec4d5607fef7479d74dee8b8be4 (patch)
treefde9effd42b7f8362c2e33554cdbd1d89c7f32a6 /include/functions.php
parentc1e45a87b2d15dbfebb789478ce33bafcc5ee4c0 (diff)
move db-prefs to OO
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 */