Code

Skip DNS handling if it wasn't active and is not active
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Nov 2006 05:06:11 +0000 (05:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Nov 2006 05:06:11 +0000 (05:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5224 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index 953a29f55c55c136d2ed357ab968f155f8ec9945..86f56a7639c4719219b1d63d2e46c17cc5e1384e 100644 (file)
@@ -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{