From: hickert Date: Wed, 28 Jun 2006 10:37:13 +0000 (+0000) Subject: Fixed missing ldap object X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dcf2480fc508c921e30cafd55712e5ebec015efd;p=gosa.git Fixed missing ldap object git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc index 07ae5b804..95ac692ab 100644 --- a/plugins/admin/mimetypes/class_mimetypeGeneric.inc +++ b/plugins/admin/mimetypes/class_mimetypeGeneric.inc @@ -361,6 +361,7 @@ class mimetype extends plugin /* Remove current mime type */ function remove_from_parent() { + $ldap = $this->config->get_ldap_link(); $ldap->rmDir($this->dn); show_ldap_error($ldap->get_error(), _("Removing mie type failed"));