From e69b0b9c2166ba445bc6d1272b5359fb533b30cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 4 Aug 2021 15:09:38 +0200 Subject: [PATCH] fixup! fixup! fixup! First attempt to make multipartPart upload working --- apps/dav/lib/BackgroundJob/UploadCleanup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/BackgroundJob/UploadCleanup.php b/apps/dav/lib/BackgroundJob/UploadCleanup.php index f9e6a2e001a2b..e3d9e3821b1af 100644 --- a/apps/dav/lib/BackgroundJob/UploadCleanup.php +++ b/apps/dav/lib/BackgroundJob/UploadCleanup.php @@ -77,7 +77,6 @@ protected function run($argument) { $files = $uploadFolder->getDirectoryListing(); $davPath = 'uploads/' . $uid . '/' . $uploadFolder->getName(); - $this->customPropertiesService->delete($uid, $davPath); // Remove if all files have an mtime of more than a day $time = $this->time->getTime() - 60 * 60 * 24; @@ -90,6 +89,7 @@ protected function run($argument) { }, $initial); if ($expire) { + $this->customPropertiesService->delete($uid, $davPath); $uploadFolder->delete(); $this->jobList->remove(self::class, $argument); }