Improve documentation for the MinimumPasswordLengthToLogin policy
[lhc/web/wiklou.git] / maintenance / cleanupInvalidDbKeys.php
index b487f89..54ed3aa 100644 (file)
@@ -161,7 +161,7 @@ TEXT
                                $titleField . $dbr->buildLike( $percent, '_' ),
                        ], LIST_OR ) ],
                        __METHOD__,
-                       [ 'LIMIT' => $this->mBatchSize ]
+                       [ 'LIMIT' => $this->getBatchSize() ]
                );
 
                $this->outputStatus( "Number of invalid rows: " . $res->numRows() . "\n" );
@@ -307,5 +307,5 @@ TEXT
        }
 }
 
-$maintClass = 'CleanupInvalidDbKeys';
+$maintClass = CleanupInvalidDbKeys::class;
 require_once RUN_MAINTENANCE_IF_MAIN;