[TASK] Remove leftovers of "options.uploadFieldsInTopOfEB" 72/58872/4
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 8 Nov 2018 12:55:52 +0000 (13:55 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 8 Nov 2018 20:05:14 +0000 (21:05 +0100)
With #80463 - before v8 LTS - the setting
"options.uploadFieldsInTopOfEB" has been removed from the templates,
no need to check the value inside the PHP code anymore.

Resolves: #86885
Related: #86848
Releases: master, 8.7
Change-Id: I40c333aeba2987a57fe26353f00ac55a74da7878
Reviewed-on: https://review.typo3.org/58872
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/recordlist/Classes/LinkHandler/FileLinkHandler.php
typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js

index b4c5486..0415f67 100644 (file)
@@ -124,9 +124,6 @@ class FileLinkHandler extends AbstractLinkHandler implements LinkHandlerInterfac
             $uploadForm = $this->mode === 'file' ? $folderUtilityRenderer->uploadForm($selectedFolder, []) : '';
             $createFolder = $folderUtilityRenderer->createFolder($selectedFolder);
 
-            // Insert the upload form on top, if so configured
-            $positionOfUploadFieldsOnTop = (bool)($this->getBackendUser()->getTSConfig()['options.']['uploadFieldsInTopOfEB'] ?? false);
-            $this->view->assign('positionOfUploadFields', $positionOfUploadFieldsOnTop ? 'top' : 'bottom');
             $this->view->assign('uploadFileForm', $uploadForm);
             $this->view->assign('createFolderForm', $createFolder);
 
index 27dc0d7..382b3a0 100644 (file)
         'unset': kw('unset'),
         'unsetEmpty': B,
         'updated': B,
-        'uploadFieldsInTopOfEB': kw('uploadFieldsInTopOfEB'),
         'uploads': B,
         'upper': kw('upper'),
         'url': A,