Code

Added a first set of reference changes - nearly untested
[gosa.git] / include / class_acl.inc
index 85ed6316235a3915948c60c2ba9e7d573f2f371f..4fbdbe962f21d6e956a880730bf62765e58446a0 100644 (file)
@@ -31,7 +31,7 @@ class acl extends plugin
   var $savedAclContents= array();
   var $myAclObjects = array();
 
-  function acl ($config, $parent, $dn= NULL)
+  function acl (&$config, $parent, $dn= NULL)
   {
     /* Include config object */
     plugin::plugin($config, $dn);
@@ -47,7 +47,7 @@ class acl extends plugin
     ksort($this->gosaAclEntry);
 
     /* Save parent - we've to know more about it than other plugins... */
-    $this->parent= $parent;
+    $this->parent= &$parent;
 
     /* Container? */
     if (preg_match('/^(o|ou|c|l|dc)=/i', $dn)){