Bump dev dependency composer/spdx-licenses to 1.2.0
[lhc/web/wiklou.git] / maintenance / fixUserRegistration.php
index 37fd44f..30364c6 100644 (file)
@@ -51,7 +51,7 @@ class FixUserRegistration extends Maintenance {
                                ],
                                __METHOD__,
                                [
-                                       'LIMIT' => $this->mBatchSize,
+                                       'LIMIT' => $this->getBatchSize(),
                                        'ORDER BY' => 'user_id',
                                ]
                        );
@@ -83,7 +83,7 @@ class FixUserRegistration extends Maintenance {
                        $this->output( "Waiting for replica DBs..." );
                        wfWaitForSlaves();
                        $this->output( " done.\n" );
-               } while ( $res->numRows() >= $this->mBatchSize );
+               } while ( $res->numRows() >= $this->getBatchSize() );
        }
 }