[BUGFIX] Executing Extbase commands as scheduler task
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
5 $signalSlotDispatcher->connect(
6 \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
7 'tablesDefinitionIsBeingBuilt',
8 \TYPO3\CMS\Core\Cache\DatabaseSchemaService::class,
9 'addCachingFrameworkRequiredDatabaseSchemaForSqlExpectedSchemaService'
10 );
11 $signalSlotDispatcher->connect(
12 \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
13 'tablesDefinitionIsBeingBuilt',
14 \TYPO3\CMS\Core\Category\CategoryRegistry::class,
15 'addCategoryDatabaseSchemaToTablesDefinition'
16 );
17
18 // Do not delete this wizard. This makes sure new installations get the TER repository set in the database.
19 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\ExtensionManagerTables::class]
20 = \TYPO3\CMS\Install\Updates\ExtensionManagerTables::class;
21
22 // Add update wizards below this line
23 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\WizardDoneToRegistry::class]
24 = \TYPO3\CMS\Install\Updates\WizardDoneToRegistry::class;
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdateAboutModule::class]
26 = \TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdateAboutModule::class;