1
0
Fork 0

Merge pull request #3954 from pixelfed/staging

Update MediaS3GarbageCollector commmand
This commit is contained in:
daniel 2022-12-17 21:48:23 -07:00 committed by GitHub
commit ccafcb23ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -133,7 +133,6 @@ class MediaS3GarbageCollector extends Command
$localDisk->delete($media->media_path);
$media->version = 4;
$media->save();
$totalSize = $totalSize + $media->size;
} else {
$media->version = 4;
$media->save();