X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FGIFMetadataExtractor.php;h=6ee23cdad16f7c79a52ad1a7e19c7f1688bf8135;hb=e37ba0aa2cc74692e2c0cab5bbc5fbb89bb13ae8;hp=178b0bf7a072e29400081a560f95715762ddf62b;hpb=00caf71094a7b513f1b12f28bf7ac600117a413f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/GIFMetadataExtractor.php b/includes/media/GIFMetadataExtractor.php index 178b0bf7a0..6ee23cdad1 100644 --- a/includes/media/GIFMetadataExtractor.php +++ b/includes/media/GIFMetadataExtractor.php @@ -158,12 +158,12 @@ class GIFMetadataExtractor { // assume its that, otherwise assume its windows-1252 (iso-8859-1) $dataCopy = $data; // quickIsNFCVerify has the side effect of replacing any invalid characters - UtfNormal::quickIsNFCVerify( $dataCopy ); + UtfNormal\Validator::quickIsNFCVerify( $dataCopy ); if ( $dataCopy !== $data ) { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $data = iconv( 'windows-1252', 'UTF-8', $data ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); } $commentCount = count( $comment );