From ad71ba4fcd52a444452209460e19f63fefc59839 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 9 Nov 2011 13:52:13 +0000 Subject: Backporting r5403 to release branch --- program/include/rcube_session.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'program/include') diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index e8bd9d06c..22aa55016 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -393,6 +393,18 @@ class rcube_session } + /** + * 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 */ -- cgit v1.2.3