diff --git a/app/Listeners/DNSListener.php b/app/Listeners/DNSListener.php index 33126f8652..848af88ee4 100644 --- a/app/Listeners/DNSListener.php +++ b/app/Listeners/DNSListener.php @@ -17,14 +17,10 @@ class DNSListener public function addDNSRecord(SubdomainWasUpdated $event) { - if(env("CLOUDFLARE_DNS_ENABLED")) - Cloudflare::addDNSRecord($event->account); } public function removeDNSRecord(SubdomainWasRemoved $event) { - if(env("CLOUDFLARE_DNS_ENABLED")) - Cloudflare::removeDNSRecord($event->account); } }