From 94e4be534b334a58800d11895dc862908311a94a Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 5 Sep 2008 11:46:17 +0000 Subject: Immediately save sort_col/sort_order in user prefs (#1485265) --- program/include/rcmail.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 243b6f835..c10f83559 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -750,13 +750,6 @@ class rcmail */ public function kill_session() { - $user_prefs = $this->user->get_prefs(); - - if ((isset($_SESSION['sort_col']) && $_SESSION['sort_col'] != $user_prefs['message_sort_col']) || - (isset($_SESSION['sort_order']) && $_SESSION['sort_order'] != $user_prefs['message_sort_order'])) { - $this->user->save_prefs(array('message_sort_col' => $_SESSION['sort_col'], 'message_sort_order' => $_SESSION['sort_order'])); - } - $_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true); setcookie('sessauth', '-del-', time() - 60); $this->user->reset(); -- cgit v1.2.3