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:
parent
0a39fbb141
commit
5ecdc6e084
@ -17,14 +17,10 @@ class DNSListener
|
|||||||
|
|
||||||
public function addDNSRecord(SubdomainWasUpdated $event)
|
public function addDNSRecord(SubdomainWasUpdated $event)
|
||||||
{
|
{
|
||||||
if(env("CLOUDFLARE_DNS_ENABLED"))
|
|
||||||
Cloudflare::addDNSRecord($event->account);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removeDNSRecord(SubdomainWasRemoved $event)
|
public function removeDNSRecord(SubdomainWasRemoved $event)
|
||||||
{
|
{
|
||||||
if(env("CLOUDFLARE_DNS_ENABLED"))
|
|
||||||
Cloudflare::removeDNSRecord($event->account);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user