mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 04:53:17 +00:00
Merge pull request #3954 from pixelfed/staging
Update MediaS3GarbageCollector commmand
This commit is contained in:
commit
ccafcb23ea
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