Merge "(Bug 41493) Move PageContentLanguage hook to Content class"
[lhc/web/wiklou.git] / includes / filerepo / file / ForeignAPIFile.php
index 1fcd35b..5648261 100644 (file)
@@ -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;
        }