diff --git a/webmin/letsencrypt-cleanup.pl b/webmin/letsencrypt-cleanup.pl index f5fa6f475..37fcd1ded 100755 --- a/webmin/letsencrypt-cleanup.pl +++ b/webmin/letsencrypt-cleanup.pl @@ -35,7 +35,7 @@ if ($zone) { elsif ($d) { # Use Virtualmin API calls &virtual_server::obtain_lock_dns($d); - &pre_records_change($d); + &virtual_server::pre_records_change($d); ($recs, $file) = &virtual_server::get_domain_dns_records_and_file($d); $wapi = 1; } diff --git a/webmin/letsencrypt-dns.pl b/webmin/letsencrypt-dns.pl index 484184213..95d0cd302 100755 --- a/webmin/letsencrypt-dns.pl +++ b/webmin/letsencrypt-dns.pl @@ -37,7 +37,7 @@ if ($zone) { elsif ($d) { # Use Virtualmin API calls &virtual_server::obtain_lock_dns($d); - &pre_records_change($d); + &virtual_server::pre_records_change($d); ($recs, $file) = &virtual_server::get_domain_dns_records_and_file($d); $wapi = 1; }