Task #55589
closedRedundant method: ResourceCompressor::checkBaseDirectory
0%
Description
\TYPO3\CMS\Core\Resource\ResourceCompressor::checkBaseDirectory() is a thick wrapper around GeneralUtilty::isFirstPartOfStr().
It's thick because it does not return the boolean result directly but first interprets is as a boolean and then returns TRUE or FALSE based on that.
On the login screen /typo3/, this method is called 110 times. The time spent inside the method (excluding isFirstPartOfStr() time) is 3.11 needless microseconds.
This wrapper method should be deprecated and the GeneralUtilty::isFirstPartOfStr() called directly.
Updated by Alexander Opitz over 9 years ago
- Status changed from New to Needs Feedback
- Target version changed from 6.2.0 to 7.5
But the functionality is needed to test more then one baseDirectory, I don't see another way around this.
Updated by Alexander Opitz about 9 years ago
- Status changed from Needs Feedback to Closed
- Target version deleted (
7.5)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.