Skip to content
Snippets Groups Projects
Commit 0c85b76c authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] Suppress db call for rootline with uid 0

Page uid 0 has no rootline by definition. The patch adds an
early return to RootlineUtility to suppress some cache->get()
calls. This happens in BE quite often. Additionally, the
SiteFinder does not query RootlineUtility for page uid 0 at
all to save a series of instance creations.

Resolves: #86271
Releases: master
Change-Id: I63c819c6dcd5e5c7a0e226ae16b0ecd6cf391e30
Reviewed-on: https://review.typo3.org/58289


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 67d43806
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment