mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Fix output from autodisable pref script
Report correct number of users and add linebreak. Bug: T112352 Change-Id: I19cd23ff4c28a83408881c299fb3a3ef42ea305b
This commit is contained in:
parent
0ec26ef23b
commit
5d3cd8ebbb
|
@ -52,7 +52,7 @@ class VEAutodisablePref extends Maintenance {
|
|||
$user->saveSettings();
|
||||
$lastUserId = $userRow->user_id;
|
||||
}
|
||||
$this->output( "Added preference for " . count( $results ) . " users." );
|
||||
$this->output( "Added preference for " . $results->numRows() . " users.\n" );
|
||||
wfWaitForSlaves();
|
||||
} while ( $results->numRows() );
|
||||
$this->output( "done.\n" );
|
||||
|
|
Loading…
Reference in a new issue