Remove entirely pointless directory iteration in GenerateFancyCaptchas

Bug: T159606
Change-Id: Ic03a0e83878cd75235095a942400aca4293e791c
This commit is contained in:
Gergő Tisza 2017-03-07 11:35:01 -08:00
parent f4dd156828
commit ba936103c3

View file

@ -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 );