[TASK] Fix deprecated things in sysnote
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / Classes / Domain / Repository / SysNoteRepository.php
index 0d9c87c..03d0857 100644 (file)
@@ -40,7 +40,7 @@ class SysNoteRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
        public function initializeObject() {
                $querySettings = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings');
                $querySettings->setRespectStoragePage(FALSE);
-               $this->setDefaultQuerySettings($querySettings);
+               $this->persistenceManager->setDefaultQuerySettings($querySettings);
        }
 
        /**