From 79ade302fae80c5935770f76ae449d41273ec89e Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Mon, 7 Jan 2019 19:40:30 +0100 Subject: [PATCH] [!!!][TASK] Remove internal_type=file/file_reference This drops TCA type=group with internal_type=file and internal_type=file_reference handling. This patch is rather huge since detail handling of this stuff is spread throughout the core. Additionally, some further methods become unused and oboselete along the way. Most of them - except DataHandler->process_uploads() - have been used internally only and can be safetly dropped, while process_uploads() which has always been part of the externally called API is substituted with a no-op method. Resolves: #87428 Releases: master Change-Id: Ia60b5d0e021b34adf4b4187a5f1fe4475b0070b4 Reviewed-on: https://review.typo3.org/59361 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Tested-by: TYPO3com Reviewed-by: Georg Ringer Tested-by: Georg Ringer --- Classes/DataHandling/FrontendEditDataHandler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Classes/DataHandling/FrontendEditDataHandler.php b/Classes/DataHandling/FrontendEditDataHandler.php index 0529cf2..0483b8d 100644 --- a/Classes/DataHandling/FrontendEditDataHandler.php +++ b/Classes/DataHandling/FrontendEditDataHandler.php @@ -300,7 +300,6 @@ class FrontendEditDataHandler if (!empty($data)) { $dataHandler = GeneralUtility::makeInstance(DataHandler::class); $dataHandler->start($data, []); - $dataHandler->process_uploads($_FILES); $dataHandler->process_datamap(); // Save the new UID back into configuration $newUID = $dataHandler->substNEWwithIDs['NEW'];