From: hickert Date: Mon, 14 Apr 2008 14:02:04 +0000 (+0000) Subject: Removed unused parameter from profilesEntry X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0b6b6a8b4d73127ca0b4e559f0105fa9cb5dd49e;p=gosa.git Removed unused parameter from profilesEntry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10431 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc index 73f152c42..481ff79f8 100644 --- a/gosa-plugins/fai/admin/fai/class_faiProfile.inc +++ b/gosa-plugins/fai/admin/fai/class_faiProfile.inc @@ -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; } diff --git a/gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc b/gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc index 86ca1c6b2..fe7decf65 100644 --- a/gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc @@ -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)".