Delete unused nic_easydns_force_update
function
This commit is contained in:
parent
59ff497c1b
commit
2a9abc9d4c
1 changed files with 0 additions and 24 deletions
24
ddclient.in
24
ddclient.in
|
@ -4675,30 +4675,6 @@ sub nic_zoneedit1_update {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################
|
|
||||||
## nic_easydns_force_update
|
|
||||||
######################################################################
|
|
||||||
sub nic_easydns_force_update {
|
|
||||||
my $host = shift;
|
|
||||||
my $update = 0;
|
|
||||||
|
|
||||||
if ($config{$host}{'mx'} ne $recap{$host}{'mx'}) {
|
|
||||||
info("forcing updating %s because 'mx' has changed to %s.", $host, $config{$host}{'mx'});
|
|
||||||
$update = 1;
|
|
||||||
|
|
||||||
} elsif ($config{$host}{'mx'} && (ynu($config{$host}{'backupmx'}, 1, 2, 3) ne ynu($config{$host}{'backupmx'}, 1, 2, 3))) {
|
|
||||||
info("forcing updating %s because 'backupmx' has changed to %s.", $host, ynu($config{$host}{'backupmx'}, "YES", "NO", "NO"));
|
|
||||||
$update = 1;
|
|
||||||
|
|
||||||
} elsif ($config{$host}{'static'} ne $recap{$host}{'static'}) {
|
|
||||||
|
|
||||||
info("forcing updating %s because 'static' has changed to %s.", $host, ynu($config{$host}{'static'}, "YES", "NO", "NO"));
|
|
||||||
$update = 1;
|
|
||||||
|
|
||||||
}
|
|
||||||
return $update;
|
|
||||||
}
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
## nic_easydns_examples
|
## nic_easydns_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Loading…
Reference in a new issue