From 60a277f1ce9026ded054b8c3792e6175f2689d4a Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 27 Apr 2011 04:34:16 -0400
Subject: [PATCH] Fix callback reference after rename

---
 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 3f1e1cc..9f636b0 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -77,7 +77,7 @@
           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 @@
         $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);

--
Gitblit v1.9.1