Remove cloud flare listener
This commit is contained in:
parent
0a39fbb141
commit
5ecdc6e084
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue