Remove unused parameter
authorJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 08:47:28 +0000 (09:47 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 08:47:28 +0000 (09:47 +0100)
Found by PHPStan.

Change-Id: I8ed0561c18e2af4ee146123b534a864d5ab7f975

languages/Language.php

index aa287e9..50963b0 100644 (file)
@@ -4241,12 +4241,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 ) );
        }
 
        /**