X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryImageInfo.php;h=e447f4f48786b25e902f7935122189c7172dbb26;hb=9008bdffddb30b7b08611a276652e4ec4a295344;hp=0603923230945ba8531d5fcb411d3250193ae692;hpb=f036c5b324e2b2d240edf8d5eeb7fc2af3d88c47;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 ); }