From: hickert Date: Tue, 16 Jan 2007 08:08:24 +0000 (+0000) Subject: Fixed remove from parent for dns extension X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9f1895952e9b02c1b0c398cc5dc09b88178e603;p=gosa.git Fixed remove from parent for dns extension git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5573 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNS.inc b/plugins/admin/systems/class_servDNS.inc index b433a734c..c63fd9b1c 100644 --- a/plugins/admin/systems/class_servDNS.inc +++ b/plugins/admin/systems/class_servDNS.inc @@ -234,7 +234,9 @@ class servdns extends plugin }else{ unset($this->Zones[$id]); + return(true); } + return(false); } @@ -258,7 +260,7 @@ class servdns extends plugin */ function remove_from_parent() { - if($this->initially_was_account){ + if($this->DNSinitially_was_account){ $bool = true; foreach($this->Zones as $key => $zone){ $bool= $bool & $this->RemoveZone($key);