From 2ad49ada2339fdcfaf4a830fb8040c32712c1cc1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Feb 2008 08:09:41 +0000 Subject: [PATCH] Updated DNS Class. -Caching getAvailableZones() now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9042 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index b4a6a7962..45895c26d 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -399,12 +399,13 @@ class termDNS extends plugin $tmp = array(); $this->dnsEntry['exists'] = false; $tmp = DNS::getDNSHostEntriesDiff($this->config,$this->OrigCn,$this->dnsEntry,$this->cn); - + /* Delete dns */ foreach($tmp['del'] as $dn => $del){ $ldap->cd($dn); $ldap->rmdir_recursive($dn); new log("remove","unknown/".get_class($this),$dn); + show_ldap_error($ldap->get_error(), sprintf(_("Could not remove dns extension for '%s'."),$dn)); } } } -- 2.30.2