diff options
author | Andrew Dolgov <[email protected]> | 2013-01-24 23:51:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-24 23:51:42 +0400 |
commit | 75a316ab3cade6264cd4471c2fcec00950adc2a2 (patch) | |
tree | 9c6d3a0a8817b89ace75af007a90a449d88c84c8 /include/functions.php | |
parent | d147154cca80c916a9c21f188ae3268810c87ac8 (diff) |
login_sequence: flush prefs_cache
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 9dea353ae..060a8a3aa 100644 --- a/include/functions.php +++ b/include/functions.php @@ -720,6 +720,8 @@ } function login_sequence($link, $login_form = 0) { + $_SESSION["prefs_cache"] = false; + if (SINGLE_USER_MODE) { authenticate_user($link, "admin", null); load_user_plugins($link, $_SESSION["uid"]); |