[BUGFIX] Enable deletion of translated sys_file_metadata records 40/55340/4
authorWolfgang Klinger <wolfgang@wazum.com>
Fri, 12 Jan 2018 10:57:24 +0000 (11:57 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Jan 2018 19:05:22 +0000 (20:05 +0100)
commit7a9b54ba362e5057028da258168b0686ef7090cc
tree10d9e48dcff0cb3ceeae69133ae659201fa9c1b1
parent098633227f8186d6e1234813f824dc8c88122700
[BUGFIX] Enable deletion of translated sys_file_metadata records

UserTS disableDelete was set for sys_file_metadata globally
and therefore also prevented the deletion of translated file metadata.
By preventing deletion of sys_file_metadata records only for default
language records, the user can remove translated ones again at will.

Resolves: #83066
Relates: #71678
Releases: master, 8.7
Change-Id: I3b83a3dd63b02b94bdd34dd8f002436af14ad45d
Reviewed-on: https://review.typo3.org/55340
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Configuration/TSconfig/User/Options.ts [deleted file]
typo3/sysext/backend/ext_localconf.php