]> git.wh0rd.org Git - tt-rss.git/commitdiff
login_sequence: flush prefs_cache
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 24 Jan 2013 19:51:42 +0000 (23:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 24 Jan 2013 19:51:42 +0000 (23:51 +0400)
include/functions.php

index 9dea353ae371ea83c4336d921c60e8b4456294b9..060a8a3aaf1148c456a8a441430b1daf30850c50 100644 (file)
        }
 
        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"]);