cfmgrv4 init...4
This commit is contained in:
parent
574e1a602c
commit
1702158376
@ -163,9 +163,11 @@ class ZoneService extends CloudflareService
|
|||||||
{
|
{
|
||||||
$whois = Factory::get()->createWhois();
|
$whois = Factory::get()->createWhois();
|
||||||
$info = $whois->loadDomainInfo($entity->getTitle());
|
$info = $whois->loadDomainInfo($entity->getTitle());
|
||||||
$expire_date = date("Y-m-d", $info->expirationDate);
|
if ($info) {
|
||||||
$this->getModel()->modify($entity, ['expire_date' => $expire_date]);
|
$expire_date = date("Y-m-d", $info->expirationDate);
|
||||||
log_message('debug', __FUNCTION__ . " : {$entity->getTitle()} => {$expire_date}");
|
$this->getModel()->modify($entity, ['expire_date' => $expire_date]);
|
||||||
|
log_message('debug', __FUNCTION__ . " : {$entity->getTitle()} => {$expire_date}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Reload
|
//Reload
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user