Code

Fixed missing ldap object
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jun 2006 10:37:13 +0000 (10:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jun 2006 10:37:13 +0000 (10:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3958 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/mimetypes/class_mimetypeGeneric.inc

index 07ae5b8048ddfb92e5e93a87fe086194ba9b1f18..95ac692ab01e1e2abb215d637c9459ade0f67500 100644 (file)
@@ -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"));