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

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();