Browse Source

Update MediaS3GarbageCollector commmand

Daniel Supernault 2 years ago
parent
commit
86c5415251
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Console/Commands/MediaS3GarbageCollector.php

+ 0 - 1
app/Console/Commands/MediaS3GarbageCollector.php

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