From 0862b7761421c4fb224acfc8e00c976f99be88f4 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 10 Mar 2008 17:32:02 +0000 Subject: [PATCH] Removed caching stuff. Will not implement it now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9626 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ldapMultiplexer.inc | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/gosa-core/include/class_ldapMultiplexer.inc b/gosa-core/include/class_ldapMultiplexer.inc index 50c06110b..f201cae29 100644 --- a/gosa-core/include/class_ldapMultiplexer.inc +++ b/gosa-core/include/class_ldapMultiplexer.inc @@ -26,9 +26,6 @@ class ldapMultiplexer { /* Internal stuff */ protected $object; - /* Caching switch - not implemented right now */ - protected $use_cache= false; - /* Result resource */ protected $sr; @@ -41,22 +38,15 @@ class ldapMultiplexer { } public function __call($methodName, $parameters) { - $id = md5($methodName.serialize($parameters)); - /* Add resource pointer if the mentioned methods are used */ if (preg_match('/^(search|ls|cat|fetch|clearResult|resetResult|count|getDN|recursive_remove|rmdir_recursive|gen_xls|gen_ldif|create_missing_trees|import_single_entry|import_complete_ldif)$/', $methodName)){ array_unshift($parameters, $this->sr); } - try { - $class= new ReflectionClass($this->object); - $method= $class->getMethod($methodName); + $class= new ReflectionClass($this->object); + $method= $class->getMethod($methodName); - return $method->invokeArgs($this->object, $parameters); - } - - catch (ReflectionException $e) { - } + return $method->invokeArgs($this->object, $parameters); } -- 2.30.2