diff --git a/Classes/Domain/Repository/JobRepository.php b/Classes/Domain/Repository/JobRepository.php index 1d76985a29263526eeebf2742b9056e442e2fcaa..8012f4fd730ab820f249c37bdc14022732275078 100644 --- a/Classes/Domain/Repository/JobRepository.php +++ b/Classes/Domain/Repository/JobRepository.php @@ -46,23 +46,6 @@ class JobRepository extends Repository { public const ORDER_BY_CRDATE = 2; public const ORDER_BY_SORTING = 1; - /** - * @param ObjectManagerInterface $objectManager - * @throws InvalidConfigurationTypeException - */ - public function __construct(ObjectManagerInterface $objectManager) { - parent::__construct($objectManager); - $configurationManager = $objectManager->get(ConfigurationManager::class); - $querySettings = $objectManager->get(Typo3QuerySettings::class); - $storagePids = GeneralUtility::trimExplode( - ',', $configurationManager->getConfiguration( - ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK - )['persistence']['storagePid']); - $querySettings->setStoragePageIds($storagePids); - $querySettings->setRespectStoragePage(TRUE); - $this->setDefaultQuerySettings($querySettings); - } - /** * Queries the job records based on filters (for the backend) *