diff options
author | alecpl <alec@alec.pl> | 2011-12-01 11:06:27 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-01 11:06:27 +0000 |
commit | 72ff6ae884dcd00d407354bb9d05418dbf256174 (patch) | |
tree | 4c00097bc62e22735d3fdab49f5e830b35164ee7 /program/include | |
parent | 8751881e1d74825801c3148831d431be69a4e939 (diff) |
- Simplified compose session data handling, no need for session->cleanup()
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 1 | ||||
-rw-r--r-- | program/include/rcube_session.php | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index e06594fcd..6e07c9a4a 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1228,7 +1228,6 @@ class rcmail // before closing the database connection, write session data if ($_SERVER['REMOTE_ADDR'] && is_object($this->session)) { - $this->session->cleanup(); session_write_close(); } diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index 7c6097392..7b2b2dce0 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -325,19 +325,6 @@ class rcube_session /** - * Cleanup session data before saving - */ - public function cleanup() - { - // current compose information is stored in $_SESSION['compose'], move it to $_SESSION['compose_data_<ID>'] - if ($compose_id = $_SESSION['compose']['id']) { - $_SESSION['compose_data_'.$compose_id] = $_SESSION['compose']; - $this->remove('compose'); - } - } - - - /** * Register additional garbage collector functions * * @param mixed Callback function |