[BUGFIX] Sysext form uses old TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / version / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE == 'BE') {
5 if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
6 // Register version_click_module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
8 'web_txversionM1',
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'cm1/'
10 );
11
12 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
13 'name' => 'TYPO3\\CMS\\Version\\ClickMenu\\VersionClickMenu',
14 );
15 }
16 }