From 21030324d032cda4322d4fe6bf10e7c74d05c673 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 05 Sep 2011 15:58:11 -0400
Subject: [PATCH] Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers
---
program/include/rcube_session.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index 0a67480..3986c89 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -314,7 +314,7 @@
public function gc()
{
foreach ($this->gc_handlers as $fct)
- $fct();
+ call_user_func($fct);
}
--
Gitblit v1.9.1