jenkins-bot has submitted this change and it was merged.

Change subject: ApiDelete: Don't pass $user to ChangeTags::addTags()
......................................................................


ApiDelete: Don't pass $user to ChangeTags::addTags()

It doesn't take that as a parameter...

Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb
---
M includes/api/ApiDelete.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  TTO: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php
index acb260c..bfd841f 100644
--- a/includes/api/ApiDelete.php
+++ b/includes/api/ApiDelete.php
@@ -100,7 +100,7 @@
 
                // Apply change tags to the log entry, if requested
                if ( count( $params['tags'] ) ) {
-                       ChangeTags::addTags( $params['tags'], null, null, 
$status->value, null, $user );
+                       ChangeTags::addTags( $params['tags'], null, null, 
$status->value, null );
                }
 
                $r = array(

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: TTO <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to