[BUGFIX] Make sure orig file is not removed when deleting processed files 11/36911/2
authorFrans Saris <franssaris@gmail.com>
Thu, 12 Feb 2015 10:04:36 +0000 (11:04 +0100)
committerNicole Cordes <typo3@cordes.co>
Sat, 14 Feb 2015 18:49:55 +0000 (19:49 +0100)
commitf1fd979da37906b0ce8a3c4887a064b67304f74d
treeb28f2c83825b835299b92466fe5c305947683854
parentc5ab877353f2daf4048e8fee24728d89700db28a
[BUGFIX] Make sure orig file is not removed when deleting processed files

A processed file only needs to be deleted from storage if it has its
own identifier.

Releases: master, 6.2
Resolves: #65021
Change-Id: I76c3f1afa6ba7fa5d8898f7281bef78f1ccb4a35
Reviewed-on: http://review.typo3.org/36911
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Resource/ProcessedFile.php
typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php [new file with mode: 0644]