[TASK] Replace JavaScriptEncoder with json_encode()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_localconf.php
index f9f60cd..1484a69 100644 (file)
@@ -11,3 +11,10 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                'addUserPermissionsToStorage'
        );
 }
+
+\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
+       'TYPO3\\CMS\\Core\\Resource\\ResourceStorage',
+       \TYPO3\CMS\Core\Resource\ResourceStorage::SIGNAL_PostFileDelete,
+       'TYPO3\\CMS\\Core\\Resource\\Processing\\FileDeletionAspect',
+       'removeFromRepository'
+);
\ No newline at end of file