[BUGFIX] Wrong note in ResourceFactory
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
8 'TYPO3\\CMS\\Core\\Resource\\ResourceFactory',
9 \TYPO3\CMS\Core\Resource\ResourceFactory::SIGNAL_PostProcessStorage,
10 'TYPO3\\CMS\\Core\\Resource\\Security\\StoragePermissionsAspect',
11 'addUserPermissionsToStorage'
12 );
13 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
14 'PackageManagement',
15 'packagesMayHaveChanged',
16 'TYPO3\\CMS\\Core\\Package\\PackageManager',
17 'scanAvailablePackages'
18 );
19 }
20
21 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
22 'TYPO3\\CMS\\Core\\Resource\\ResourceStorage',
23 \TYPO3\CMS\Core\Resource\ResourceStorage::SIGNAL_PostFileDelete,
24 'TYPO3\\CMS\\Core\\Resource\\Processing\\FileDeletionAspect',
25 'removeFromRepository'
26 );