diff options
author | Andrew Dolgov <[email protected]> | 2013-04-18 12:00:01 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-18 12:00:01 +0400 |
commit | 52d88392dad52ec4d5607fef7479d74dee8b8be4 (patch) | |
tree | fde9effd42b7f8362c2e33554cdbd1d89c7f32a6 /classes/handler/public.php | |
parent | c1e45a87b2d15dbfebb789478ce33bafcc5ee4c0 (diff) |
move db-prefs to OO
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 16d628c80..ca5952bca 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -509,8 +509,6 @@ class Handler_Public extends Handler { } function login() { - $_SESSION["prefs_cache"] = array(); - if (!SINGLE_USER_MODE) { $login = $this->dbh->escape_string($_POST["login"]); @@ -541,7 +539,6 @@ class Handler_Public extends Handler { if ($this->dbh->num_rows($result) != 0) { $_SESSION["profile"] = $profile; - $_SESSION["prefs_cache"] = array(); } } } else { |