dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "(Bug 41493) Move PageContentLanguage hook to Content class"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
ForeignAPIFile.php
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;
}