[BUGFIX] StorageRepository must respect 'deleted' flag 88/17588/4
authorSebastian Michaelsen <michaelsen@t3seo.de>
Fri, 18 Jan 2013 10:44:47 +0000 (11:44 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 1 Feb 2013 14:02:07 +0000 (15:02 +0100)
commit9c7ef6f41dd6f020d78e32887d07452508bda14a
tree8a65f91eb3aafa12baef5056a698aad7f430750c
parenta9a0942227704a2d7685462171de68e8ec9711bc
[BUGFIX] StorageRepository must respect 'deleted' flag

The FAL's Storage Repository find* methods also load
deleted file storages at the moment.

Reproduce:
* Create some "File Storage" records on the root page and
delete some of them
* Open the File module, it will showdeleted File Storages

Resolves: #44630
Releases: 6.1, 6.0
Change-Id: I5c60f16261508978ddbe47aa26b52be5b05a82bc
Reviewed-on: https://review.typo3.org/17588
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Resource/StorageRepository.php
typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php [new file with mode: 0644]