Commit 8e2c94dc authored by anarcat's avatar anarcat Committed by anarcat

delete zonefile include on master when deleting a zone

parent 1234abac
......@@ -282,6 +282,7 @@ class provisionService_dns extends provisionService {
function delete_zone($zone) {
$this->config('zone', $zone)->unlink();
$this->config('server')->record_del($zone, $zone)->write();
// kick zone deletion on slaves
$this->_each_server("delete_zone", $zone);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment