summaryrefslogtreecommitdiff
path: root/extensions/Renameuser/RenameuserSQL.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Renameuser/RenameuserSQL.php')
-rw-r--r--extensions/Renameuser/RenameuserSQL.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/Renameuser/RenameuserSQL.php b/extensions/Renameuser/RenameuserSQL.php
index 153cac88..eeb879a0 100644
--- a/extensions/Renameuser/RenameuserSQL.php
+++ b/extensions/Renameuser/RenameuserSQL.php
@@ -112,7 +112,6 @@ class RenameuserSQL {
if ( !$dbw->affectedRows() && $this->checkIfUserExists ) {
$dbw->rollback();
- wfProfileOut( __METHOD__ );
return false;
}
@@ -222,7 +221,7 @@ class RenameuserSQL {
}
if ( count( $jobs ) > 0 ) {
- JobQueueGroup::singleton()->push( $jobs, JobQueue::QOS_ATOMIC ); // don't commit yet
+ Job::safeBatchInsert( $jobs ); // don't commit yet
}
// Commit the transaction