Code

Updated property editor.
[gosa.git] / gosa-core / include / class_ldapMultiplexer.inc
index 8940952e10aac1349dc1b3a8eaa78fe82c3faa8b..fbd6d91b47d47168cfb579ecd57596f8ebde0b66 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,27 +38,19 @@ 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)){
+    if (preg_match('/^(search|ls|cat|fetch|clearResult|resetResult|count|getDN|recursive_remove|rmdir_recursive|gen_xls|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);
   }
 
 
   public function __get($memberName) {
-    echo "Obsolete access to member variable '$memberName'!<br>";
     return $this->object->$memberName;
   }