[BUGFIX] Respect options.disableDelete UserTSConfig 78/49678/6
authorChristian Weiske <weiske@mogic.com>
Wed, 31 Aug 2016 11:04:13 +0000 (13:04 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 8 Oct 2016 09:29:25 +0000 (11:29 +0200)
commit345608843e0c9d344189e939670506209948f464
tree993e264563b956aba69497e3770ed084296f55a0
parent68f27c8c5c5a805f38009171759474b153b687b8
[BUGFIX] Respect options.disableDelete UserTSConfig

The UserTSConfig setting "options.disableDelete" was not respected
in the record ClickMenu, the database record list and the page layout view.
This patch makes the following configurations work:

    options.disableDelete = 1
    options.disableDelete.tablename = 1

Releases: master, 7.6
Resolves: #34636

Change-Id: Idcabd8efb3b60d7edd2e87c400a948b423d95ea2
Reviewed-on: https://review.typo3.org/49678
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Zbigniew Jacko <z.jacko@macopedia.pl>
Tested-by: Zbigniew Jacko <z.jacko@macopedia.pl>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php