From 52379b3664ac7053ea89232a1fee0ad6306cd5fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sven=20J=C3=BCrgens?= <typo3@blue-side.de>
Date: Fri, 1 Jun 2018 15:19:32 +0200
Subject: [PATCH] [BUGFIX] CleanerTask processes all FileResource Fields

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/57112
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 typo3/sysext/recycler/Classes/Task/CleanerTask.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/typo3/sysext/recycler/Classes/Task/CleanerTask.php b/typo3/sysext/recycler/Classes/Task/CleanerTask.php
index 81673404ccb1..e1004f9f2b00 100644
--- a/typo3/sysext/recycler/Classes/Task/CleanerTask.php
+++ b/typo3/sysext/recycler/Classes/Task/CleanerTask.php
@@ -238,7 +238,6 @@ class CleanerTask extends AbstractTask
                     && $fieldConfiguration['config']['internal_type'] === 'file'
                 ) {
                     $result[] = $fieldName;
-                    break;
                 }
             }
         }
-- 
GitLab