diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_session.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index 3f1e1ccd2..9f636b0d2 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -77,7 +77,7 @@ class rcube_session array($this, 'mc_read'), array($this, 'mc_write'), array($this, 'mc_destroy'), - array($this, 'rcube_gc')); + array($this, 'gc')); } else { raise_error(array('code' => 604, 'type' => 'db', @@ -190,11 +190,13 @@ class rcube_session $key, base64_encode($vars), (string)$this->ip); } - $this->unsets = array(); return true; } + /** + * Merge vars with old vars and apply unsets + */ private function _fixvars($vars, $oldvars) { $ts = microtime(true); |