aboutsummaryrefslogtreecommitdiffstats
path: root/includes/tidy/TidyDriverBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/tidy/TidyDriverBase.php')
-rw-r--r--includes/tidy/TidyDriverBase.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/tidy/TidyDriverBase.php b/includes/tidy/TidyDriverBase.php
index f88b673479e0..a53360c9d9e5 100644
--- a/includes/tidy/TidyDriverBase.php
+++ b/includes/tidy/TidyDriverBase.php
@@ -21,18 +21,6 @@ abstract class TidyDriverBase {
}
/**
- * 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
*
* @param string $text HTML document fragment to clean up