aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php')
-rw-r--r--lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php b/lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php
index 823ea09a622..acec2f46c05 100644
--- a/lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php
+++ b/lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php
@@ -65,7 +65,7 @@ class RemoveOldTasksBackgroundJob extends TimedJob {
* @return void
*/
private function clearFilesOlderThan(ISimpleFolder $folder, int $ageInSeconds): void {
- foreach($folder->getDirectoryListing() as $file) {
+ foreach ($folder->getDirectoryListing() as $file) {
if ($file->getMTime() < time() - $ageInSeconds) {
try {
$file->delete();