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:
c29fd59
)
(bug 37334) ForeignAPIFile::getDescription() should match parent
author
Chad Horohoe
<chadh@wikimedia.org>
Wed, 6 Jun 2012 00:29:40 +0000
(20:29 -0400)
committer
Chad Horohoe
<chadh@wikimedia.org>
Wed, 6 Jun 2012 00:29:40 +0000
(20:29 -0400)
Fix for I1dd54611, which changed File::getDescription() without updating
ForeignAPIFile
Change-Id: I4d4d43c3a07bb1dd1c0001779992024bef962640
includes/filerepo/file/ForeignAPIFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/file/ForeignAPIFile.php
b/includes/filerepo/file/ForeignAPIFile.php
index
1fcd35b
..
5648261
100644
(file)
--- a/
includes/filerepo/file/ForeignAPIFile.php
+++ b/
includes/filerepo/file/ForeignAPIFile.php
@@
-196,7
+196,7
@@
class ForeignAPIFile extends File {
/**
* @return null|string
*/
- public function getDescription() {
+ public function getDescription(
$audience = self::FOR_PUBLIC, User $user = null
) {
return isset( $this->mInfo['comment'] ) ? strval( $this->mInfo['comment'] ) : null;
}