cloudflare: Remove unused $hostname variable

This is no longer used since commit 6c951a0395 ("Add files via
upload"), which updated to the Cloudflare API v4. The new API does not
require any preprocessing of the domain name.
This commit is contained in:
Thomas Hebb 2020-06-06 01:39:09 -04:00
parent 36b8db950f
commit 8a6b9d0862

View file

@ -5821,7 +5821,6 @@ sub nic_cloudflare_update {
# FQDNs
for my $domain (@hosts) {
(my $hostname = $domain) =~ s/\.$config{$key}{zone}$//;
my $ipv4 = delete $config{$domain}{'wantipv4'};
my $ipv6 = delete $config{$domain}{'wantipv6'};