1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

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