"Fileadmin garbage collection" scheduler task doesn't remove entries from sys_file
As stated in subject, the fileadmin cleaner only removes the files from filesystem, but not from
sys_file table, which results in showing all the removed
/_recycler_/* files in Report "Files flagged as missing".
A bit related to #59312.
[BUGFIX] Use FAL api to delete file in garbage collection task
This patch uses FAL file objects and their api to delete them from
recycler. This is needed to clean up the database entries as well.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Joerg Boesche <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Markus Klein <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>