jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I6343aa204ddd68e9685630b67ac0b0ca535b426b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to