From 3dbe4f79e42dc655444187e22356994a0d5c76ce Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 16 Jun 2013 08:18:57 -0400 Subject: [PATCH] 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 --- program/include/rcmail.php | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index fd625ba..39d804d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -749,11 +749,6 @@ $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')) -- Gitblit v1.9.1