Merge "media: Do not pass unused parameter"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 4 Dec 2018 06:27:33 +0000 (06:27 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Dec 2018 06:27:33 +0000 (06:27 +0000)
includes/media/SVGMetadataExtractor.php

index e52bf0b..ca398ff 100644 (file)
@@ -165,7 +165,7 @@ class SVGReader {
                        } elseif ( $isSVG && $tag == 'desc' ) {
                                $this->readField( $tag, 'description' );
                        } elseif ( $isSVG && $tag == 'metadata' && $type == XMLReader::ELEMENT ) {
-                               $this->readXml( $tag, 'metadata' );
+                               $this->readXml( 'metadata' );
                        } elseif ( $isSVG && $tag == 'script' ) {
                                // We normally do not allow scripted svgs.
                                // However its possible to configure MW to let them