[FEATURE] Move CE table options from flexform to tt_content
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_localconf.php
index b50010b..c48b086 100644 (file)
@@ -1,31 +1,25 @@
 <?php
-if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+defined('TYPO3_MODE') or die();
 
-define('INSTALLER_PATH', t3lib_extMgm::extPath('install'));
-define('INSTALLER_MOD_PATH', INSTALLER_PATH.'modules/');
+// TYPO3 CMS 7
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendUserStartModule'] = \TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['languageIsoCode'] = \TYPO3\CMS\Install\Updates\LanguageIsoCodeUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['PageShortcutParent'] = \TYPO3\CMS\Install\Updates\PageShortcutParentUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendShortcuts'] = \TYPO3\CMS\Install\Updates\MigrateShortcutUrlsUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['processedFilesChecksum'] = \TYPO3\CMS\Install\Updates\ProcessedFileChecksumUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['filesReplacePermission'] = \TYPO3\CMS\Install\Updates\FilesReplacePermissionUpdate::class;
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tableCType'] = \TYPO3\CMS\Install\Updates\TableFlexFormToTtContentFieldsUpdate::class;
 
-       // Here the modules for the Installer will be registered
-$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['modules'] = array (
-       'installer' => INSTALLER_MOD_PATH.'installer/class.tx_install_module_installer.php:tx_install_module_installer',
-       'setup' => INSTALLER_MOD_PATH.'setup/class.tx_install_module_setup.php:tx_install_module_setup',
-       
-       'database' => INSTALLER_MOD_PATH.'database/class.tx_install_module_database.php:tx_install_module_database',
-       'gfx' => INSTALLER_MOD_PATH.'gfx/class.tx_install_module_gfx.php:tx_install_module_gfx',
-       'php' => INSTALLER_MOD_PATH.'php/class.tx_install_module_php.php:tx_install_module_php',
-       'directories' => INSTALLER_MOD_PATH.'directories/class.tx_install_module_directories.php:tx_install_module_directories',
-       'system' => INSTALLER_MOD_PATH.'system/class.tx_install_module_system.php:tx_install_module_system',
+$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
+$signalSlotDispatcher->connect(
+       \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
+       'tablesDefinitionIsBeingBuilt',
+       \TYPO3\CMS\Install\Service\CachingFrameworkDatabaseSchemaService::class,
+       'addCachingFrameworkRequiredDatabaseSchemaToTablesDefinition'
+);
+$signalSlotDispatcher->connect(
+       \TYPO3\CMS\Install\Service\SqlExpectedSchemaService::class,
+       'tablesDefinitionIsBeingBuilt',
+       \TYPO3\CMS\Core\Category\CategoryRegistry::class,
+       'addCategoryDatabaseSchemaToTablesDefinition'
 );
-
-/*
-       // Here are the update-classes will be registered. This is something from the old install-tool
-       // and is maybe obsolete with the new version. We'll see
-
-require_once(t3lib_extMgm::extPath('install').'updates/class.tx_coreupdates_compatversion.php');
-$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['update']['changeCompatibilityVersion'] = 'tx_coreupdates_compatversion';
-
-       // not used yet
-//require_once(t3lib_extMgm::extPath('install').'updates/class.tx_coreupdates_notinmenu.php');
-//$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['update']['notInMenu_doctype_conversion'] = 'tx_coreupdates_notinmenu';
-
-*/
-?>
\ No newline at end of file