[BUGFIX] Extension Manager does not use calcAge
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / ext_tables.php
index b15a4a6..53e000f 100755 (executable)
@@ -1,18 +1,9 @@
 <?php
-if (!defined ('TYPO3_MODE'))   die ('Access denied.');
-
-if (TYPO3_MODE=='BE')  {
-       t3lib_extMgm::addModule('tools','dbint','',t3lib_extMgm::extPath($_EXTKEY).'dbint/');
-       t3lib_extMgm::addModule('tools','config','',t3lib_extMgm::extPath($_EXTKEY).'config/');
-/*
-       t3lib_extMgm::insertModuleFunction(
-               'web_func',
-               'tx_lowlevel_cleaner',
-               t3lib_extMgm::extPath($_EXTKEY).'class.tx_lowlevel_cleaner.php',
-               'Cleaner',
-               'function',
-               'online'
-       );
-       */
+if (!defined('TYPO3_MODE')) {
+       die('Access denied.');
+}
+if (TYPO3_MODE == 'BE') {
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'dbint', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'dbint/');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'config', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'config/');
 }
 ?>
\ No newline at end of file