dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c6151
)
ApiDelete: Don't pass $user to ChangeTags::addTags()
author
Kunal Mehta
<legoktm@gmail.com>
Mon, 19 Oct 2015 08:45:46 +0000
(
01:45
-0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Mon, 19 Oct 2015 08:45:46 +0000
(
01:45
-0700)
It doesn't take that as a parameter...
Change-Id: I9f78ba4151d131ecf4ca476ecead0ed60408becb
includes/api/ApiDelete.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiDelete.php
b/includes/api/ApiDelete.php
index
acb260c
..
bfd841f
100644
(file)
--- 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(