Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/372224 )

Change subject: Pass $fname to DB callback in GlobalUserRenameStatus
......................................................................

Pass $fname to DB callback in GlobalUserRenameStatus

This makes the method show up in the "callbacks still pending"
log entries if it did not run by request end. Otherwise, it will
show as onTransactionPreCommitOrIdle(), which is useless.

Change-Id: I9edce515ecef71559306d7322552e24cef0edbb2
---
M includes/GlobalRename/GlobalRenameUserStatus.php
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/includes/GlobalRename/GlobalRenameUserStatus.php 
b/includes/GlobalRename/GlobalRenameUserStatus.php
index 7765a66..2104c22 100644
--- a/includes/GlobalRename/GlobalRenameUserStatus.php
+++ b/includes/GlobalRename/GlobalRenameUserStatus.php
@@ -219,7 +219,8 @@
                                        [ $nameWhere, 'ru_wiki' => $wiki ],
                                        $fname
                                );
-                       }
+                       },
+                       $fname
                );
        }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9edce515ecef71559306d7322552e24cef0edbb2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to