mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Break early if there are no more garbage files to clean
This commit is contained in:
parent
b767ff7a94
commit
c724d72781
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue