Merge "DefaultSettings: Fix doxygen warning for missing @endcond"
[lhc/web/wiklou.git] / includes / media / JpegMetadataExtractor.php
index 0d8013d..ae4af8d 100644 (file)
@@ -48,7 +48,7 @@ class JpegMetadataExtractor {
         * @throws MWException If given invalid file.
         */
        static function segmentSplitter( $filename ) {
-               $showXMP = function_exists( 'xml_parser_create_ns' );
+               $showXMP = XMPReader::isSupported();
 
                $segmentCount = 0;