Legoktm has uploaded a new change for review.

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

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/44/247244/1

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: newchange
Gerrit-Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
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