Merge "Remove unused parameter"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 4 Dec 2018 06:27:27 +0000 (06:27 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Dec 2018 06:27:27 +0000 (06:27 +0000)
languages/Language.php

index 0efade9..d7cd8b5 100644 (file)
@@ -4238,12 +4238,11 @@ class Language {
        /**
         * Perform output conversion on a string, and encode for safe HTML output.
         * @param string $text Text to be converted
-        * @param bool $isTitle Whether this conversion is for the article title
         * @return string
         * @todo this should get integrated somewhere sane
         */
-       public function convertHtml( $text, $isTitle = false ) {
-               return htmlspecialchars( $this->convert( $text, $isTitle ) );
+       public function convertHtml( $text ) {
+               return htmlspecialchars( $this->convert( $text ) );
        }
 
        /**