cfmgrv3 init...3

This commit is contained in:
최준흠 2023-06-22 18:14:59 +09:00
parent e71ebc96d0
commit 6c9b17b552

View File

@ -141,7 +141,7 @@ class ZoneController extends APIController
protected function delete_process($entity)
{
//Zone삭제전에 Record부터 삭제하기위함
foreach ($this->getRecordModel()->getEntitysByZone($entity->getPrimaryKey()) as $record) {
foreach ($this->getRecordModel()->getEntitysByZone($entity) as $record) {
$api = new \App\Libraries\Cloudflare\API\Record($entity);
$api->delete($record);
}