]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Commands/CleanupImages.php
Added maintenance view with image-cleanup
[bookstack] / app / Console / Commands / CleanupImages.php
index 5eadf275157424ef80e83f16ce682fffa728f149..e05508d5e31803626fe4aa148c674cd4676ebc8e 100644 (file)
@@ -55,7 +55,7 @@ class CleanupImages extends Command
             }
         }
 
-        $deleted = $this->imageService->deleteUnusedImages($checkRevisions, ['gallery', 'drawio'], $dryRun);
+        $deleted = $this->imageService->deleteUnusedImages($checkRevisions, $dryRun);
         $deleteCount = count($deleted);
 
         if ($dryRun) {