mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +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);
|
$localDisk->delete($media->media_path);
|
||||||
$media->version = 4;
|
$media->version = 4;
|
||||||
$media->save();
|
$media->save();
|
||||||
$totalSize = $totalSize + $media->size;
|
|
||||||
} else {
|
} else {
|
||||||
$media->version = 4;
|
$media->version = 4;
|
||||||
$media->save();
|
$media->save();
|
||||||
|
|
Loading…
Reference in a new issue