mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-04 04:28:30 +00:00
Remove entirely pointless directory iteration in GenerateFancyCaptchas
Bug: T159606 Change-Id: Ic03a0e83878cd75235095a942400aca4293e791c
This commit is contained in:
parent
f4dd156828
commit
ba936103c3
|
@ -147,7 +147,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
||||||
$tmpDir,
|
$tmpDir,
|
||||||
FilesystemIterator::SKIP_DOTS
|
FilesystemIterator::SKIP_DOTS
|
||||||
),
|
),
|
||||||
RecursiveIteratorIterator::CHILD_FIRST // include dirs
|
RecursiveIteratorIterator::LEAVES_ONLY
|
||||||
);
|
);
|
||||||
|
|
||||||
$captchasGenerated = iterator_count( $iter );
|
$captchasGenerated = iterator_count( $iter );
|
||||||
|
|
Loading…
Reference in a new issue