X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fapi%2FApiQueryImageInfo.php;h=e447f4f48786b25e902f7935122189c7172dbb26;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hp=0603923230945ba8531d5fcb411d3250193ae692;hpb=d2b5c86eac27b0ce60076502f195b1b37d762c60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 0603923230..e447f4f487 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -1,9 +1,5 @@ @gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -546,9 +542,9 @@ class ApiQueryImageInfo extends ApiQueryBase { } if ( $meta ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $metadata = unserialize( $file->getMetadata() ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $metadata && $version !== 'latest' ) { $metadata = $file->convertMetadataVersion( $metadata, $version ); }