Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/92481


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


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

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: newchange
Gerrit-Change-Id: Ib8d96224b1af8765090af558176e8bce05ae0a77
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Renameuser
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to