jenkins-bot has submitted this change and it was merged.
Change subject: Remove call to deprecated Job::safeBatchInsert
......................................................................
Remove call to deprecated Job::safeBatchInsert
Change-Id: Ib8d96224b1af8765090af558176e8bce05ae0a77
---
M RenameuserSQL.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/RenameuserSQL.php b/RenameuserSQL.php
index eeb879a..ca03ad3 100644
--- a/RenameuserSQL.php
+++ b/RenameuserSQL.php
@@ -221,7 +221,7 @@
}
if ( count( $jobs ) > 0 ) {
- Job::safeBatchInsert( $jobs ); // don't commit yet
+ JobQueueGroup::singleton()->push( $jobs,
JobQueue::QOS_ATOMIC ); // don't commit yet
}
// Commit the transaction
--
To view, visit https://gerrit.wikimedia.org/r/92481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8d96224b1af8765090af558176e8bce05ae0a77
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Renameuser
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits