From 797a8e5127e2132906a7790f9e948e42c886a7fe Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Tue, 30 Apr 2013 22:02:43 +0200 Subject: [PATCH] [TASK] Remove dummy require files from ext:adodb Change-Id: Ia1d98cfbd904934c651946ad30ab6dcba367dc3f Resolves: #47763 Related: #47756 Releases: 6.2 Reviewed-on: https://review.typo3.org/20367 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- typo3/sysext/adodb/class.tx_adodb_tceforms.php | 8 -------- typo3/sysext/adodb/ext_localconf.php | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 typo3/sysext/adodb/class.tx_adodb_tceforms.php diff --git a/typo3/sysext/adodb/class.tx_adodb_tceforms.php b/typo3/sysext/adodb/class.tx_adodb_tceforms.php deleted file mode 100644 index 70a9fc90d51e..000000000000 --- a/typo3/sysext/adodb/class.tx_adodb_tceforms.php +++ /dev/null @@ -1,8 +0,0 @@ - \ No newline at end of file diff --git a/typo3/sysext/adodb/ext_localconf.php b/typo3/sysext/adodb/ext_localconf.php index 5e60e4b29441..6991012327da 100644 --- a/typo3/sysext/adodb/ext_localconf.php +++ b/typo3/sysext/adodb/ext_localconf.php @@ -2,11 +2,11 @@ if (!defined('TYPO3_MODE')) { die('Access denied.'); } -require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('adodb') . 'class.tx_adodb_tceforms.php'; + // Register as a data source application if the extension datasources is loaded: 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 +?> -- 2.20.1