From: Siebrand Mazeland Date: Tue, 8 Mar 2016 07:43:57 +0000 (+0100) Subject: Explicitly declare ApiQueryImageInfo::getInfo() public X-Git-Tag: 1.31.0-rc.0~7709^2 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=5433a5e998b0a79517af0d4ee8bd8743394c703d;p=lhc%2Fweb%2Fwiklou.git Explicitly declare ApiQueryImageInfo::getInfo() public Used as such in core and TimedMediaHandler. Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe --- diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 6890046c97..b9ec2c392e 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -357,7 +357,7 @@ class ApiQueryImageInfo extends ApiQueryBase { * 'revdelUser': User to use when checking whether to show revision-deleted fields. * @return array Result array */ - static function getInfo( $file, $prop, $result, $thumbParams = null, $opts = false ) { + public static function getInfo( $file, $prop, $result, $thumbParams = null, $opts = false ) { global $wgContLang; $anyHidden = false;