Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/177586
Change subject: removeInvalidEmails.php: Fix batching continuation for wikis
with >500 users
......................................................................
removeInvalidEmails.php: Fix batching continuation for wikis with >500 users
Change-Id: I6343aa204ddd68e9685630b67ac0b0ca535b426b
---
M maintenance/removeInvalidEmails.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/86/177586/1
diff --git a/maintenance/removeInvalidEmails.php
b/maintenance/removeInvalidEmails.php
index 7ff69a1..265723a 100644
--- a/maintenance/removeInvalidEmails.php
+++ b/maintenance/removeInvalidEmails.php
@@ -44,9 +44,9 @@
if ( !Sanitizer::validateEmail( trim(
$row->user_email ) ) ) {
$this->output( "Found bad email:
{$row->user_email} for user #{$row->user_id}\n" );
$badIds[] = $row->user_id;
- if ( $row->user_id > $lastId ) {
- $lastId = $row->user_id;
- }
+ }
+ if ( $row->user_id > $lastId ) {
+ $lastId = $row->user_id;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/177586
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6343aa204ddd68e9685630b67ac0b0ca535b426b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits