X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftidy%2FTidyDriverBase.php;h=a53360c9d9e52e1f810cb4b20b81447e684421d5;hb=ae031e237eab8e2023d0fe128f9749a8a43ea439;hp=f88b673479e0f3bbb6651c9edd66ee04166aaf2a;hpb=236488d398046838059f758b0915341648b64c7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy/TidyDriverBase.php b/includes/tidy/TidyDriverBase.php index f88b673479..a53360c9d9 100644 --- a/includes/tidy/TidyDriverBase.php +++ b/includes/tidy/TidyDriverBase.php @@ -20,18 +20,6 @@ abstract class TidyDriverBase { return false; } - /** - * Check HTML for errors, used if $wgValidateAllHtml = true. - * - * @param string $text - * @param string &$errorStr Return the error string - * @throws \MWException - * @return bool Whether the HTML is valid - */ - public function validate( $text, &$errorStr ) { - throw new \MWException( static::class . ' does not support validate()' ); - } - /** * Clean up HTML *