Remove cloud flare listener
This commit is contained in:
parent
0a39fbb141
commit
5ecdc6e084
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue