Explicitly declare ApiQueryImageInfo::getInfo() public
[lhc/web/wiklou.git] / 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;