Added maintenance view with image-cleanup

This commit is contained in:
Dan Brown
2018-05-27 19:40:07 +01:00
parent 1df0bcaf85
commit 2bd6ba9895
9 changed files with 177 additions and 4 deletions

View 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) {