[!!!][TASK] Drop extbase query cache
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / QueryFactory.php
index 92dd84e..2946da8 100644 (file)
@@ -77,9 +77,6 @@ class QueryFactory implements QueryFactoryInterface, \TYPO3\CMS\Core\SingletonIn
 
         $frameworkConfiguration = $this->configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
         $querySettings->setStoragePageIds(\TYPO3\CMS\Core\Utility\GeneralUtility::intExplode(',', $frameworkConfiguration['persistence']['storagePid']));
-        if ($querySettings instanceof Typo3QuerySettings) {
-            $querySettings->useQueryCache($frameworkConfiguration['persistence']['useQueryCache']);
-        }
         $query->setQuerySettings($querySettings);
         return $query;
     }