[BUGFIX] Set correct workspace ID when updating referenceIndex for files
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE === 'BE') {
6 // Add module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
8 'system',
9 'txschedulerM1',
10 '',
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/'
12 );
13
14 // Add context sensitive help (csh) to the backend module
15 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
16 '_MOD_system_txschedulerM1',
17 'EXT:' . $_EXTKEY . '/mod1/locallang_csh_scheduler.xlf'
18 );
19 }
20
21 // Register specific icon for run task button
22 \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
23 array(
24 'run-task' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/RunTask.png'
25 ),
26 $_EXTKEY
27 );