[BUGFIX] CleanerTask processes all FileResource Fields 10/58710/2
authorSven Jürgens <typo3@blue-side.de>
Fri, 1 Jun 2018 13:19:32 +0000 (15:19 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 26 Oct 2018 12:46:26 +0000 (14:46 +0200)
By removing an errorous break in a loop, all FileResource Fields are found
and therefor all connected files can be deleted.

Resolves: #85140
Releases: master, 8.7
Change-Id: I0aea4427dd9e74b1a11ab04e8aa235e17ae1a031
Reviewed-on: https://review.typo3.org/58710
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/recycler/Classes/Task/CleanerTask.php

index 1bec478..cbea5f9 100644 (file)
@@ -234,7 +234,6 @@ class CleanerTask extends AbstractTask
                     && $fieldConfiguration['config']['internal_type'] === 'file'
                 ) {
                     $result[] = $fieldName;
-                    break;
                 }
             }
         }