Legoktm has uploaded a new change for review.

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

Change subject: Don't depend upon $wgUser for attributing log entries
......................................................................

Don't depend upon $wgUser for attributing log entries

Bug: T103739
Change-Id: I50ff4864a5a55eb3154c2ec697917f9a7143cb29
---
M UserMergeLogger.php
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UserMerge 
refs/changes/16/220616/1

diff --git a/UserMergeLogger.php b/UserMergeLogger.php
index 6e050bf..009df5b 100644
--- a/UserMergeLogger.php
+++ b/UserMergeLogger.php
@@ -19,7 +19,8 @@
                        array(
                                $oldUser->getName(), $oldUser->getId(),
                                $newUser->getName(), $newUser->getId()
-                       )
+                       ),
+                       $performer
                );
        }
 
@@ -36,7 +37,8 @@
                        'deleteuser',
                        $perfomer->getUserPage(),
                        '',
-                       array( $oldUser->getName(), $oldUser->getId() )
+                       array( $oldUser->getName(), $oldUser->getId() ),
+                       $perfomer
                );
        }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50ff4864a5a55eb3154c2ec697917f9a7143cb29
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UserMerge
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to