jenkins-bot has submitted this change and it was merged.
Change subject: Fix output from autodisable pref script
......................................................................
Fix output from autodisable pref script
Report correct number of users and add linebreak.
Bug: T112352
Change-Id: I19cd23ff4c28a83408881c299fb3a3ef42ea305b
---
M autodisablePref.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jforrester: Looks good to me, approved
jenkins-bot: Verified
diff --git a/autodisablePref.php b/autodisablePref.php
index 2dc16d8..832ca94 100644
--- a/autodisablePref.php
+++ b/autodisablePref.php
@@ -52,7 +52,7 @@
$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" );
--
To view, visit https://gerrit.wikimedia.org/r/242662
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I19cd23ff4c28a83408881c299fb3a3ef42ea305b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits