[BUGFIX] Remove PageRenderer debug code 09/59809/2
authorOliver Hader <oliver@typo3.org>
Wed, 27 Feb 2019 08:46:39 +0000 (09:46 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 27 Feb 2019 13:47:27 +0000 (14:47 +0100)
Resolves: #87803
Releases: master, 9.5, 8.7
Change-Id: I1d99aa132208d5db14eb3aed49308e95998a0f0e
Reviewed-on: https://review.typo3.org/c/59809
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Page/PageRenderer.php

index 97e2ef4..7d06cec 100644 (file)
@@ -1307,7 +1307,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
         $requireJsConfig = $cache->get($cacheIdentifier);
 
         // if we did not get a configuration from the cache, compute and store it in the cache
-        if (!isset($requireJsConfig['internal']) || !isset($requireJsConfig['public']) || true) {
+        if (!isset($requireJsConfig['internal']) || !isset($requireJsConfig['public'])) {
             $requireJsConfig = $this->computeRequireJsConfig($isDevelopment, $loadedExtensions);
             $cache->set($cacheIdentifier, $requireJsConfig);
         }