We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 309c17a commit e69b0b9Copy full SHA for e69b0b9
apps/dav/lib/BackgroundJob/UploadCleanup.php
@@ -77,7 +77,6 @@ protected function run($argument) {
77
$files = $uploadFolder->getDirectoryListing();
78
79
$davPath = 'uploads/' . $uid . '/' . $uploadFolder->getName();
80
- $this->customPropertiesService->delete($uid, $davPath);
81
82
// Remove if all files have an mtime of more than a day
83
$time = $this->time->getTime() - 60 * 60 * 24;
@@ -90,6 +89,7 @@ protected function run($argument) {
90
89
}, $initial);
91
92
if ($expire) {
+ $this->customPropertiesService->delete($uid, $davPath);
93
$uploadFolder->delete();
94
$this->jobList->remove(self::class, $argument);
95
}
0 commit comments