Issue Task Rejected

#90255Break down func_delete in ExtendedFileUtility into smaller methods for better overriding

Leo Viezens 01/30/20, 09:10 updated 03/05/20, 15:00

Description

The public method ‘func_delete’ in TYPO3\CMS\Core\Utility\File\ExtendedFileUtility is currently ~150 lines long. I’d like to break this down into smaller (protected) sub methods.

*Advantages:*
You can use the XClass mechanism more effectively, as it would be possible to override only one sub method instead of having to override the whole ‘func_delete’ method.

*Background:*
I’m currently using a composer patch to hook into the ‘func_delete’ method. This has to get maintained, as the ‘ExtendedFileUtility’ changes from time to time and the composer patch has to get adjusted.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.