45 $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\
TYPO3\CMS\
Extbase\Object\ObjectManager::class);
48 $repositoryHelper = $objectManager->get(\
TYPO3\CMS\Extensionmanager\Utility\Repository\Helper::class);
49 $repositoryHelper->updateExtList();
52 $persistenceManager = $objectManager->get(\
TYPO3\CMS\
Extbase\Persistence\Generic\PersistenceManager::class);
53 $persistenceManager->persistAll();