From 5433a5e998b0a79517af0d4ee8bd8743394c703d Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 8 Mar 2016 08:43:57 +0100 Subject: [PATCH] Explicitly declare ApiQueryImageInfo::getInfo() public Used as such in core and TimedMediaHandler. Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe --- includes/api/ApiQueryImageInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1