From 38047be54690148100cc00ea17ed483b8e075d9b Mon Sep 17 00:00:00 2001 From: Stefan Scheu Date: Wed, 5 Jul 2023 10:32:02 +0200 Subject: [PATCH] fix: cleanup also system tmp directory to prevent flood of tmp files --- lib/Maintenance/Tasks/HousekeepingTask.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Maintenance/Tasks/HousekeepingTask.php b/lib/Maintenance/Tasks/HousekeepingTask.php index 2ed82eca2a2..779e1cf44a2 100644 --- a/lib/Maintenance/Tasks/HousekeepingTask.php +++ b/lib/Maintenance/Tasks/HousekeepingTask.php @@ -46,6 +46,7 @@ public function __construct(int $tmpFileTime, int $profilerTime) public function execute() { $this->deleteFilesInFolderOlderThanSeconds(PIMCORE_TEMPORARY_DIRECTORY, $this->tmpFileTime); + $this->deleteFilesInFolderOlderThanSeconds(PIMCORE_SYSTEM_TEMP_DIRECTORY, $this->tmpFileTime); $environments = Config::getEnvironmentConfig()->getProfilerHousekeepingEnvironments();