X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/be4f3d62cd37c7b83eb86bbf5fffa00d20acf2ec..refs/pull/2515/head:/app/Console/Commands/CleanupImages.php diff --git a/app/Console/Commands/CleanupImages.php b/app/Console/Commands/CleanupImages.php index 8e1539702..93ca367a2 100644 --- a/app/Console/Commands/CleanupImages.php +++ b/app/Console/Commands/CleanupImages.php @@ -2,7 +2,7 @@ namespace BookStack\Console\Commands; -use BookStack\Services\ImageService; +use BookStack\Uploads\ImageService; use Illuminate\Console\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -14,8 +14,8 @@ class CleanupImages extends Command * @var string */ protected $signature = 'bookstack:cleanup-images - {--a|all : Include images that are used in page revisions} - {--f|force : Actually run the deletions} + {--a|all : Also delete images that are only used in old revisions} + {--f|force : Actually run the deletions, Defaults to a dry-run} '; /** @@ -30,7 +30,7 @@ class CleanupImages extends Command /** * Create a new command instance. - * @param ImageService $imageService + * @param \BookStack\Uploads\ImageService $imageService */ public function __construct(ImageService $imageService) {