Break early if there are no more garbage files to clean

This commit is contained in:
Kijin Sung 2017-01-27 15:16:46 +09:00
parent b767ff7a94
commit c724d72781

View file

@ -40,6 +40,11 @@ while (true)
$oFileController->deleteFile($file_info->file_srl);
}
$oDB->commit();
if ($output->page_navigation && $output->page_navigation->total_count == count($output->data))
{
break;
}
}
else
{