1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Remove cloud flare listener

This commit is contained in:
David Bomba 2022-06-10 12:28:12 +10:00
parent 0a39fbb141
commit 5ecdc6e084

View File

@ -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);
}
}