[!!!][TASK] Move flash message output to alerts
[Packages/TYPO3.CMS.git] / typo3 / file_newfolder.php
index c4ec8b1..c929dd6 100644 (file)
  */
 require __DIR__ . '/init.php';
 
+\TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(
+       'Creating a new folder is moved to an own module. Please use BackendUtility::getModuleUrl(\'file_newfolder\') to link to this script. This script will be removed in two versions.'
+);
+
 $createFolderController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\CreateFolderController');
 $createFolderController->main();
 $createFolderController->printContent();