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