Merge "Pass 'adviseStat' => true to ->getFileList() in DeleteOldFancyCaptchas.php"

This commit is contained in:
jenkins-bot 2019-10-16 15:56:45 +00:00 committed by Gerrit Code Review
commit 1b98b8f6c1

View file

@ -61,7 +61,7 @@ class DeleteOldFancyCaptchas extends Maintenance {
$filesToDelete = [];
$deleteDate = $this->getOption( 'date' );
foreach (
$backend->getFileList( [ 'dir' => $dir ] ) as $file
$backend->getFileList( [ 'dir' => $dir, 'adviseStat' => true ] ) as $file
) {
$fullPath = $dir . '/' . $file;
$timestamp = $backend->getFileTimestamp( [ 'src' => $fullPath ] );