cfmgrv4 init...4
This commit is contained in:
parent
9ff5740d3c
commit
3165bdf41c
@ -24,4 +24,8 @@ class AuditLogEntity extends CommonEntity
|
|||||||
$this->attributes[AuditLogModel::TITLE] = $title;
|
$this->attributes[AuditLogModel::TITLE] = $title;
|
||||||
}
|
}
|
||||||
//Common Function
|
//Common Function
|
||||||
|
public function getZoneID(): string
|
||||||
|
{
|
||||||
|
return $this->attributes['zone_id'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,7 +55,7 @@ class AuditLogService extends CloudflareService
|
|||||||
{
|
{
|
||||||
//해당 Zone을 Sync작업한다
|
//해당 Zone을 Sync작업한다
|
||||||
$zone_service = new ZoneService();
|
$zone_service = new ZoneService();
|
||||||
$zone_entity = $zone_service->getEntityByPK($entity->getParent());
|
$zone_entity = $zone_service->getEntityByPK($entity->getZoneID());
|
||||||
if ($zone_entity !== null) {
|
if ($zone_entity !== null) {
|
||||||
// $zone_entity = $zone_service->sync($entity, $zone_entity);
|
// $zone_entity = $zone_service->sync($entity, $zone_entity);
|
||||||
// //해당 Zone의 Record reload작업한다
|
// //해당 Zone의 Record reload작업한다
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user