projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6fa7f
)
Force cache rebuild when renaming
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 2 Jan 2011 20:08:54 +0000
(12:08 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 2 Jan 2011 20:08:54 +0000
(12:08 -0800)
bind8/bind8-lib.pl
patch
|
blob
|
history
diff --git
a/bind8/bind8-lib.pl
b/bind8/bind8-lib.pl
index
3ccfadc
..
b87024d
100755
(executable)
--- a/
bind8/bind8-lib.pl
+++ b/
bind8/bind8-lib.pl
@@
-1750,7
+1750,8
@@
return 1;
# delete_zone(name, [view], [file-too])
# Delete one zone from named.conf
-# Returns 0 on success, 1 if the zone was not found, or 2 if the view was not found.
+# Returns 0 on success, 1 if the zone was not found, or 2 if the view was not
+# found.
sub delete_zone
{
local $parent = &get_config_parent();
@@
-1843,6
+1844,7
@@
if ($file) {
}
&save_directive($parent, [ $z ], [ $z ]);
+&unlink_file($zone_names_cache);
&flush_file_lines();
return 0;
}