jenkins-bot has submitted this change and it was merged.
Change subject: Add some debug logging for GlobalUserMerge
......................................................................
Add some debug logging for GlobalUserMerge
Change-Id: Idfc3a7c7d64def282cb0e1a41bba319f2c23f11f
---
M includes/GlobalRename/GlobalUserMerge.php
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/GlobalRename/GlobalUserMerge.php
b/includes/GlobalRename/GlobalUserMerge.php
index 7efedf2..e99fa93 100644
--- a/includes/GlobalRename/GlobalUserMerge.php
+++ b/includes/GlobalRename/GlobalUserMerge.php
@@ -107,6 +107,14 @@
$newName = $this->newCAUser->getName();
$newId = $this->newCAUser->getId();
+ wfDebugLog( 'CentralAuthUserMerge', FormatJson::encode(
array(
+ 'oldname' => $oldName,
+ 'oldid' => $oldId,
+ 'newname' => $newName,
+ 'newid' => $newId,
+ 'attached' => $oldCAUser->listAttached(),
+ ) ) );
+
$this->databaseUpdates->merge( $oldName, $newName );
$oldCAUser->removeAntiSpoof();
--
To view, visit https://gerrit.wikimedia.org/r/167635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idfc3a7c7d64def282cb0e1a41bba319f2c23f11f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits