mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-07-22 19:33:34 +03:00
add "notifyafterupdate" flag
This commit is contained in:
parent
1dfd47ae70
commit
03d9d88026
3 changed files with 20 additions and 2 deletions
|
@ -84,6 +84,14 @@ class PdnsAPI {
|
|||
|
||||
return $this->loadzone($zone['id']);
|
||||
}
|
||||
public function notifyzone($zoneid) {
|
||||
$api = clone $this->http;
|
||||
$api->method = 'PUT';
|
||||
$api->url = "/servers/localhost/zones/$zoneid/notify";
|
||||
$api->call();
|
||||
|
||||
return $api->json;
|
||||
}
|
||||
|
||||
public function deletezone($zoneid) {
|
||||
$api = clone $this->http;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue