summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_session.php6
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);