mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 09:30:06 +00:00
Merge "Pass 'adviseStat' => true to ->getFileList() in DeleteOldFancyCaptchas.php"
This commit is contained in:
commit
1b98b8f6c1
|
@ -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 ] );
|
||||
|
|
Loading…
Reference in a new issue