[TASK] Merge submodule version into core
[Packages/TYPO3.CMS.git] / typo3 / sysext / adodb / ext_localconf.php
index 87de15d..6991012 100644 (file)
@@ -2,11 +2,11 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('adodb') . 'class.tx_adodb_tceforms.php';
+
 // Register as a data source application if the extension datasources is loaded:
-if (\TYPO3\CMS\Core\Extension\ExtensionManager::isLoaded('datasources')) {
-       require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('datasources') . 'class.tx_datasources_main.php';
+if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('datasources')) {
+       require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('datasources') . 'class.tx_datasources_main.php';
        $dataSourcesMainObj = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj('EXT:datasources/class.tx_datasources_main.php:&tx_datasources_main');
        $dataSourcesMainObj->registerApplication('ADOdb', 'adodb');
 }
-?>
\ No newline at end of file
+?>