From ad71ba4fcd52a444452209460e19f63fefc59839 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 09 Nov 2011 08:52:13 -0500
Subject: [PATCH] Backporting r5403 to release branch
---
program/include/rcube_session.php | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index e8bd9d0..22aa550 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -394,6 +394,18 @@
/**
+ * Re-read session data from storage backend
+ */
+ public function reload()
+ {
+ if ($this->key && $this->memcache)
+ $this->mc_read($this->key);
+ else if ($this->key)
+ $this->db_read($this->key);
+ }
+
+
+ /**
* Serialize session data
*/
private function serialize($vars)
--
Gitblit v1.9.1