Skip to content

Commit

Permalink
fixup! fixup! fixup! First attempt to make multipartPart upload working
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Aug 4, 2021
1 parent 309c17a commit e69b0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/BackgroundJob/UploadCleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -90,6 +89,7 @@ protected function run($argument) {
}, $initial);

if ($expire) {
$this->customPropertiesService->delete($uid, $davPath);
$uploadFolder->delete();
$this->jobList->remove(self::class, $argument);
}
Expand Down

0 comments on commit e69b0b9

Please sign in to comment.