[BUGFIX] Enable deletion of translated sys_file_metadata records 54/55354/2
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:45:24 +0000 (20:45 +0100)
commit6fafd01103e5a6ddd6765852df7cf0b768b5d5fa
tree0d29d71fd9e2b92f59cbc83eac25f37e28af7ce2
parentdae60858d454dc42735e31fb8dd9074a348f6184
[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/55354
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