forked from mirror/pixelfed
Merge pull request #3954 from pixelfed/staging
Update MediaS3GarbageCollector commmand
This commit is contained in:
commit
ccafcb23ea
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue