Actions
Task #90516
closedRootlineUtility::purgeCaches contains note that function is only intended for unit tests but it is being used
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2020-02-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
/**
* Purges all rootline caches.
*
* Note: This function is intended to be used in unit tests only.
*/
public static function purgeCaches()
{
self::$localCache = [];
self::$pageRecordCache = [];
}
typo3/sysext/core/Classes/DataHandling/SlugHelper.php: RootlineUtility::purgeCaches();
typo3/sysext/core/Classes/Routing/SiteMatcher.php: RootlineUtility::purgeCaches();
So, maybe remove the note or check if it's ok to use the function?
Updated by Georg Ringer over 4 years ago
- Category changed from Caching to Documentation
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63442
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63453
Updated by Georg Ringer over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e6f1bec56afeaef162cd617918b4e2e9c2efd944.
Actions