diff options
Diffstat (limited to 'includes/filerepo/file/ForeignDBFile.php')
-rw-r--r-- | includes/filerepo/file/ForeignDBFile.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/filerepo/file/ForeignDBFile.php b/includes/filerepo/file/ForeignDBFile.php index ee5883c4..01d6b0f5 100644 --- a/includes/filerepo/file/ForeignDBFile.php +++ b/includes/filerepo/file/ForeignDBFile.php @@ -120,10 +120,11 @@ class ForeignDBFile extends LocalFile { } /** + * @param $lang Language Optional language to fetch description in. * @return string */ - function getDescriptionText() { + function getDescriptionText( $lang = false ) { // Restore remote behavior - return File::getDescriptionText(); + return File::getDescriptionText( $lang ); } } |