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