[BUGFIX] Avoid unnecessary generation of processed files
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // TYPO3 CMS 7
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendUserStartModule'] = \TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdate::class;
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['languageIsoCode'] = \TYPO3\CMS\Install\Updates\LanguageIsoCodeUpdate::class;
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['PageShortcutParent'] = \TYPO3\CMS\Install\Updates\PageShortcutParentUpdate::class;
8 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendShortcuts'] = \TYPO3\CMS\Install\Updates\MigrateShortcutUrlsUpdate::class;
9 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['processedFilesChecksum'] = \TYPO3\CMS\Install\Updates\ProcessedFileChecksumUpdate::class;
10
11 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
12 $signalSlotDispatcher->connect(
13 \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
14 'tablesDefinitionIsBeingBuilt',
15 \TYPO3\CMS\Install\Service\CachingFrameworkDatabaseSchemaService::class,
16 'addCachingFrameworkRequiredDatabaseSchemaToTablesDefinition'
17 );
18 $signalSlotDispatcher->connect(
19 \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
20 'tablesDefinitionIsBeingBuilt',
21 \TYPO3\CMS\Core\Category\CategoryRegistry::class,
22 'addCategoryDatabaseSchemaToTablesDefinition'
23 );