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:
e5d0f9c
)
Fix CommentStore->createComment() call in LocalFile.php
author
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 9 Feb 2018 17:43:30 +0000
(12:43 -0500)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 9 Feb 2018 17:43:30 +0000
(12:43 -0500)
This was incorrectly changed in I3abb62a5, createComment() is not one of
the methods that was adjusted in that patch.
Change-Id: I9c26e0ad69ffc6fa5349a6975a4134efb3cf0eff
includes/filerepo/file/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index
bf1181f
..
92b5f17
100644
(file)
--- a/
includes/filerepo/file/LocalFile.php
+++ b/
includes/filerepo/file/LocalFile.php
@@
-2509,7
+2509,7
@@
class LocalFileDeleteBatch {
);
$rowsInsert = [];
if ( $res->numRows() ) {
- $reason = $commentStore->createComment( $dbw,
'fa_deleted_reason',
$this->reason );
+ $reason = $commentStore->createComment( $dbw, $this->reason );
foreach ( $res as $row ) {
$comment = $commentStore->getComment( 'oi_description', $row );
$rowsInsert[] = [