Merge "Group messages in WANObjectCache by key"
[lhc/web/wiklou.git] / maintenance / invalidateUserSessions.php
index 11e3372..8f67acd 100644 (file)
@@ -83,7 +83,7 @@ class InvalidateUserSesssions extends Maintenance {
                                        . str_replace( [ "\r", "\n" ], ' ', $e->getMessage() ) . "\n" );
                        }
 
-                       if ( $i % $this->mBatchSize ) {
+                       if ( $i % $this->getBatchSize() ) {
                                $lbFactory->waitForReplication();
                        }
                }