Commit e0fee624 authored by Stefan Froemken's avatar Stefan Froemken

Merge branch 'removes-query-settings-for-userrepository' into 'develop'

Removes obsolete "do not respect storage page" for user repository

See merge request !259
parents 36b88f12 90d48ddf
Pipeline #2576 passed with stages
in 2 minutes and 58 seconds
......@@ -102,12 +102,7 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
*/
public function injectOwnerRepository(\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository $ownerRepository)
{
/** @var QuerySettingsInterface $querySettings */
$querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
$querySettings->setRespectStoragePage(false);
$this->ownerRepository = $ownerRepository;
$this->ownerRepository->setDefaultQuerySettings($querySettings);
}
/**
......
......@@ -70,12 +70,7 @@ class RegisterkeyController extends \T3o\TerFe2\Controller\AbstractTerBasedContr
*/
public function injectUserRepository(\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository $userRepository)
{
/** @var QuerySettingsInterface $querySettings */
$querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
$querySettings->setRespectStoragePage(false);
$this->userRepository = $userRepository;
$this->userRepository->setDefaultQuerySettings($querySettings);
}
/**
......
Markdown is supported
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