From 27d2bc60cfc973cf7ad3a3fe61541a0c95766d76 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Nov 2006 05:06:11 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_termDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{ -- 2.30.2