Explicitly declare ApiQueryImageInfo::getInfo() public
authorSiebrand Mazeland <siebrand@kitano.nl>
Tue, 8 Mar 2016 07:43:57 +0000 (08:43 +0100)
committerAnomie <bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:16:13 +0000 (16:16 +0000)
Used as such in core and TimedMediaHandler.

Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe

includes/api/ApiQueryImageInfo.php

index 6890046..b9ec2c3 100644 (file)
@@ -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;