mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-05-09 22:53:57 +03:00
Fix a erasemasters() for a zone
This commit is contained in:
parent
cf754d0135
commit
4d6ecb612e
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,10 @@ class Zone {
|
||||||
array_push($this->masters, $ip);
|
array_push($this->masters, $ip);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function erasemasters() {
|
||||||
|
$this->masters = Array();
|
||||||
|
}
|
||||||
|
|
||||||
public function deleterrset($name, $type) {
|
public function deleterrset($name, $type) {
|
||||||
foreach ($this->rrsets as $rrset) {
|
foreach ($this->rrsets as $rrset) {
|
||||||
if ($rrset->name == $name and $rrset->type == $type) {
|
if ($rrset->name == $name and $rrset->type == $type) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue