mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update MediaS3GarbageCollector commmand
This commit is contained in:
parent
b3c4d8c47c
commit
86c5415251
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue