From: hickert Date: Mon, 27 Nov 2006 05:06:11 +0000 (+0000) Subject: Skip DNS handling if it wasn't active and is not active X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=27d2bc60cfc973cf7ad3a3fe61541a0c95766d76;p=gosa.git Skip DNS handling if it wasn't active and is not active git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5224 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 953a29f55..86f56a763 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -414,7 +414,7 @@ class termDNS extends plugin /* If isn't DNS account but initially was DNS account remove all DNS entries */ - if(!$this->DNSenabled){ + if((!$this->DNSenabled) || ((!$this->DNS_is_account)&&(!$this->initially_was_account))){ return; }else{