[BUGFIX] Incomplete mock raises PHP 5.4 warning
[Packages/TYPO3.CMS.git] / typo3 / wizard_edit.php
index 49c9b77..265b7d9 100644 (file)
@@ -39,9 +39,9 @@ $LANG->includeLLFile('EXT:lang/locallang_wizards.xml');
  * and will be removed with 6.2. The class was renamed and is now located at:
  * typo3/sysext/backend/Classes/Controller/Wizard/EditController.php
  */
-require_once t3lib_extMgm::extPath('backend') . 'Classes/Controller/Wizard/EditController.php';
+require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/EditController.php';
 // Make instance:
-$SOBE = t3lib_div::makeInstance('SC_wizard_edit');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\EditController');
 $SOBE->init();
 $SOBE->main();
 ?>
\ No newline at end of file