[BUGFIX] Can not delete Files with metadata records 56/25456/3
authorFrans Saris <franssaris@gmail.com>
Sat, 16 Nov 2013 09:41:24 +0000 (10:41 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 21 Nov 2013 16:01:21 +0000 (17:01 +0100)
commit95e8e33069b260becd7d96d271717aa9e1f14fb1
tree2ede8bcd66a5581ba7b0b62fe3818134506e8780
parent092c60a3f29cf1cf8011e751537bdefcc75b56f4
[BUGFIX] Can not delete Files with metadata records

When a sys_file record has relation with a sys_file_metadata
record the file can not be deleted.

This patch excludes tables sys_file_metadata from the
reference check.

Resolves: #53672
Releases: 6.2
Change-Id: Ib7a5b55fce9f5cf19ffe3b18eddfc7238a8e8626
Reviewed-on: https://review.typo3.org/25456
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Fabien Udriot
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/filelist/Classes/FileList.php