summaryrefslogtreecommitdiff
path: root/program/include/rcube_session.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-11-09 13:52:13 +0000
committerthomascube <thomas@roundcube.net>2011-11-09 13:52:13 +0000
commitad71ba4fcd52a444452209460e19f63fefc59839 (patch)
tree9a62e057cb5202425dba29a97cf8416da1bd0480 /program/include/rcube_session.php
parent51f7a5b2a09777d3a279757af620e42985ff9a86 (diff)
Backporting r5403 to release branch
Diffstat (limited to 'program/include/rcube_session.php')
-rw-r--r--program/include/rcube_session.php12
1 files changed, 12 insertions, 0 deletions
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
@@ -394,6 +394,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
*/
private function serialize($vars)