X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ftidy%2FTidyDriverBase.php;h=a53360c9d9e52e1f810cb4b20b81447e684421d5;hp=f88b673479e0f3bbb6651c9edd66ee04166aaf2a;hb=0da97e7a0352e8d4fd37fab2a7b2cb8c5b80f9ad;hpb=62a9ee2f45e43d3a5dc3564334c210fa1e3ad298 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 *