[TASK] adjust LegacyClassesForIde
[Packages/TYPO3.CMS.git] / typo3 / alt_doc_nodoc.php
index 69fca26..3fd23a9 100644 (file)
  */
 require 'init.php';
 $LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml');
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('opendocs') . 'class.tx_opendocs.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('opendocs') . 'class.tx_opendocs.php';
 /*
  * @deprecated since 6.0, the classname SC_alt_doc_nodoc and this file is obsolete
  * and will be removed by 7.0. The class was renamed and is now located at:
  * typo3/sysext/backend/Classes/Controller/NoDocumentsOpenController.php
  */
-require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('backend') . 'Classes/Controller/NoDocumentsOpenController.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/NoDocumentsOpenController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\EditDocumentController_nodoc');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Backend\Controller\NoDocumentsOpenController');
 $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();