[BUGFIX] Respect options.disableDelete UserTSConfig 22/50122/4
authorChristian Weiske <weiske@mogic.com>
Wed, 31 Aug 2016 11:04:13 +0000 (13:04 +0200)
committerJan Helke <typo3@helke.de>
Mon, 24 Oct 2016 16:57:19 +0000 (18:57 +0200)
commit57d9a4c36dbc7f2e1afa1ca8dd9972847020d2a6
tree299b6e047593fca8500ac5912c0a8167374b3a37
parentb21552152426c99cf67965c07bc64ce57d236426
[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/50122
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php