summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-11 00:55:02 +0400
committerAndrew Dolgov <[email protected]>2011-11-11 00:55:02 +0400
commitc648997b1cadc09840ee42b450dc4859259695fe (patch)
tree0ba6fe64956dba37a4cc349c13278b0c25acf281 /functions.php
parentd0cafcf4a048bfcc72d9523d20d61ba719e566cd (diff)
more aggressive prefs caching
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 275bc4d8e..40e583765 100644
--- a/functions.php
+++ b/functions.php
@@ -2102,6 +2102,8 @@
}
function login_sequence($link, $mobile = false) {
+ $_SESSION["prefs_cache"] = array();
+
if (!SINGLE_USER_MODE) {
$login_action = $_POST["login_action"];