From 18e8a870b6f43f620f38f26a40998b20945ae20e Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 19 Oct 2015 01:45:46 -0700 Subject: [PATCH] ApiDelete: Don't pass $user to ChangeTags::addTags() It doesn't take that as a parameter... Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb --- includes/api/ApiDelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index acb260c50e..bfd841f572 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -100,7 +100,7 @@ class ApiDelete extends ApiBase { // 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( -- 2.20.1