From dcf2480fc508c921e30cafd55712e5ebec015efd Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Jun 2006 10:37:13 +0000 Subject: [PATCH] Fixed missing ldap object git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/mimetypes/class_mimetypeGeneric.inc | 1 + 1 file changed, 1 insertion(+) 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")); -- 2.30.2