Code

Removed unused parameter from profilesEntry
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 14:02:04 +0000 (14:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 14:02:04 +0000 (14:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10431 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiProfile.inc
gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc

index 73f152c4232a6165ee5cbbd2e69f52ae071d679f..481ff79f8a84478a632f02748e44971ec49b705e 100644 (file)
@@ -253,7 +253,7 @@ class faiProfile extends plugin
     }
 
     if($s_action == "add" && $this->acl_is_writeable("FAIclass")){
-      $this->dialog = new faiProfileEntry($this->config,$this->dn,$this->FAIclasses);
+      $this->dialog = new faiProfileEntry($this->config,$this->dn,$this->FAIclasses,$this->parent->parent->fai_release);
       $this->is_dialog  =true;
     }
 
index 86ca1c6b2227ca239c426ffe6088bde804d81a2f..fe7decf65103a16fdd9a679a1f862099de0343d9 100644 (file)
@@ -11,13 +11,11 @@ class faiProfileEntry extends plugin
   var $FAIAllclasses        = array();
   var $ui;
 
-  function faiProfileEntry (&$config, $dn= NULL,$used=array(),$objects=false)
+  function faiProfileEntry (&$config, $dn= NULL,$used=array(),$base)
   {
     plugin::plugin ($config, $dn);
 
     /* Search only in fai tree */
-    $base = $this->parent->parent->fai_release; 
     $this->ui = get_userinfo();
 
     $filter = "(|(objectClass=FAIscript)(objectClass=FAItemplate)(objectClass=FAIhook)".