WatchedItemStoreUnitTest return strings in db mocks
[lhc/web/wiklou.git] / maintenance / deleteSelfExternals.php
index f76325b..ab25784 100644 (file)
@@ -44,7 +44,7 @@ class DeleteSelfExternals extends Maintenance {
                        wfWaitForSlaves();
                        $this->commitTransaction( $db, __METHOD__ );
                        $q = $db->limitResult( "DELETE /* deleteSelfExternals */ FROM externallinks WHERE el_to"
-                               . $db->buildLike( $wgServer . '/', $db->anyString() ), $this->mBatchSize );
+                               . $db->buildLike( $wgServer . '/', $db->anyString() ), $this->getBatchSize() );
                        $this->output( "Deleting a batch\n" );
                        $db->query( $q );
                        if ( !$db->affectedRows() ) {