Gergő Tisza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351181 )

Change subject: Call LocalRenameUserJob::teardown in FixStuckGlobalRename
......................................................................

Call LocalRenameUserJob::teardown in FixStuckGlobalRename

FixStuckGlobalRename runs LocalRenameUserJob as a plain class, not
a job (probably to get better error output?), which resulted
in the job for the next wiki not being scheduled, since that's
done in teardown(), not in run().

Bug: T163622
Change-Id: I250ac2fac643bd5a36de6eba28309487ca88722d
---
M maintenance/fixStuckGlobalRename.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/81/351181/1

diff --git a/maintenance/fixStuckGlobalRename.php 
b/maintenance/fixStuckGlobalRename.php
index 71e4608..c944135 100644
--- a/maintenance/fixStuckGlobalRename.php
+++ b/maintenance/fixStuckGlobalRename.php
@@ -95,6 +95,7 @@
                $job = new LocalRenameUserJob( $title, $params );
                $this->output( "\nStarting to run job...\n" );
                $job->run();
+               $job->teardown( true );
                $this->output( "Done!\n" );
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/351181
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I250ac2fac643bd5a36de6eba28309487ca88722d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

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

Reply via email to