Code

Removed caching stuff. Will not implement it now.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 17:32:02 +0000 (17:32 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 17:32:02 +0000 (17:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9626 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_ldapMultiplexer.inc

index 50c06110bb4ab09f33307d4a91ef40f807fecceb..f201cae291be46a27efae382574c772d46a6f3dc 100644 (file)
@@ -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);
   }