From fa4d666b2cf2d034432e1cf2964b99068b366f13 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 6 Dec 2006 07:16:01 +0000 Subject: [PATCH] Fixed mimetype base selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/mimetypes/class_mimetypeGeneric.inc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc index 790fa4524..6541eeb35 100644 --- a/plugins/admin/mimetypes/class_mimetypeGeneric.inc +++ b/plugins/admin/mimetypes/class_mimetypeGeneric.inc @@ -153,9 +153,6 @@ class mimetype extends plugin $smarty->assign($name."ACL",$this->getacl($name)); } - /* Assign base ACL */ - $smarty->assign("baseACL", $this->getacl("base")); - /* Base select dialog */ $once = true; foreach($_POST as $name => $value){ @@ -521,22 +518,6 @@ class mimetype extends plugin } } - /* Check permissions for that base? */ - if ($this->base != ""){ - $new_dn= "cn=".$this->cn.",ou=mime,".$this->base; - } else { - $new_dn= $this->dn; - } - - /* Set new acl base */ - if($this->dn == "new") { - $this->set_acl_base($new_dn); - } - - if (!$this->acl_is_createable() && $this->dn == "new"){ - $message[]= _("You have no permissions to create a mime type on this 'Base'."); - } - return($message); } -- 2.30.2