Revert "Remove old remapping hacks from Database::indexName()"
[lhc/web/wiklou.git] / maintenance / createCommonPasswordCdb.php
index 87e7e08..f13dd93 100644 (file)
@@ -69,7 +69,7 @@ class GenerateCommonPassword extends Maintenance {
                try {
                        $db = \Cdb\Writer::open( $outfile );
 
-                       $alreadyWritten = array();
+                       $alreadyWritten = [];
                        $skipped = 0;
                        for ( $i = 0; ( $i - $skipped ) < $limit; $i++ ) {
                                if ( feof( $file ) ) {