mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
rfc2136: symmetry #996
This commit is contained in:
parent
b3cfb8533b
commit
9f8e2d6712
@ -42,6 +42,8 @@ $a_rfc2136 = &$config['dnsupdates']['dnsupdate'];
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (isset($_POST['act']) && $_POST['act'] == "del" && isset($_POST['id'])) {
|
||||
if (!empty($a_rfc2136[$_POST['id']])) {
|
||||
@unlink(rfc2136_cache_file($a_rfc2136[$_POST['id']], 4));
|
||||
@unlink(rfc2136_cache_file($a_rfc2136[$_POST['id']], 6));
|
||||
unset($a_rfc2136[$_POST['id']]);
|
||||
write_config();
|
||||
system_cron_configure();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user