cfmgrv4 init...4
This commit is contained in:
parent
3361dd891d
commit
c91e7270db
@ -163,8 +163,9 @@ class ZoneService extends CloudflareService
|
|||||||
{
|
{
|
||||||
$whois = Factory::get()->createWhois();
|
$whois = Factory::get()->createWhois();
|
||||||
$info = $whois->loadDomainInfo($entity->getTitle());
|
$info = $whois->loadDomainInfo($entity->getTitle());
|
||||||
$formDatas = ['expire_date' => date("Y-m-d", $info->expirationDate)];
|
$expire_date = date("Y-m-d", $info->expirationDate);
|
||||||
$this->getModel()->modify($entity, $formDatas);
|
$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