summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-16 14:18:57 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-16 14:18:57 +0200
commit3dbe4f79e42dc655444187e22356994a0d5c76ce (patch)
treeb5d17825136b10b6224edbca1753d1fee1e0645d /program/include
parentac1a962b51531ccbbaa6c41c329aa5f80859a39d (diff)
Fix session issues when local and database time differs (#1486132)
Improve performance by executing session gc on script shutdown, also call session_write_close() ASAP
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index fd625ba4d..39d804d1f 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -749,11 +749,6 @@ class rcmail extends rcube
$book->close();
}
- // before closing the database connection, write session data
- if ($_SERVER['REMOTE_ADDR'] && is_object($this->session)) {
- $this->session->write_close();
- }
-
// write performance stats to logs/console
if ($this->config->get('devel_mode')) {
if (function_exists('memory_get_usage'))