1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

Update MediaS3GarbageCollector commmand

This commit is contained in:
Daniel Supernault 2022-12-17 21:47:39 -07:00
parent b3c4d8c47c
commit 86c5415251
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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