From: Kunal Mehta Date: Mon, 19 Oct 2015 08:45:46 +0000 (-0700) Subject: ApiDelete: Don't pass $user to ChangeTags::addTags() X-Git-Tag: 1.31.0-rc.0~9356 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=18e8a870b6f43f620f38f26a40998b20945ae20e;p=lhc%2Fweb%2Fwiklou.git ApiDelete: Don't pass $user to ChangeTags::addTags() It doesn't take that as a parameter... Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb --- 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(