Skip to content

Commit

Permalink
fmDNS - #141 - Fix zone edits allowing reloads
Browse files Browse the repository at this point in the history
Reloads should not be available if the zone configuration gets edited.
  • Loading branch information
WillyXJ committed Jul 25, 2014
1 parent 827cd52 commit a4d2797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server/fm-modules/fmDNS/change.log
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* Both - [feature] Added support to define chroot directory. (Issue #92, #134)
* Server - [feature] Added support for SOA templates. (Issue #114)
* Server - [bug] Fixed the servers menu badge count. (Issue #139)
* Server - [bug] Fixed an issue where zones could still be reloaded after
updating the zone configuration. (Issue #141)

1.2.5 (2014-05-??)
==================
Expand Down
2 changes: 1 addition & 1 deletion server/fm-modules/fmDNS/classes/class_zones.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function update() {
if ($key == 'domain_name_servers') $data = $log_message_name_servers;
$log_message .= $data ? formatLogKeyData('domain_', $key, $data) : null;
}
$sql_edit = rtrim($sql_edit, ',');
$sql_edit .= "domain_reload='no'";

/* Set the server_build_config flag for existing servers */
if (getSOACount($id) && getNSCount($id)) {
Expand Down

0 comments on commit a4d2797

Please sign in to comment.