diff --git a/model/fieldtypes/Text.php b/model/fieldtypes/Text.php index 392bafa02..822d4a535 100644 --- a/model/fieldtypes/Text.php +++ b/model/fieldtypes/Text.php @@ -78,17 +78,7 @@ class Text extends StringField { public function NoHTML() { return strip_tags($this->value); } - /** - * Return the value of the field with XML tags escaped. - * - * @deprecated 3.0 Use DBField->XML() instead. - * @return string - */ - public function EscapeXML() { - Deprecation::notice('3.0', 'Use DBField->XML() instead.'); - return str_replace(array('&','<','>','"'), array('&','<','>','"'), $this->value); - } - + /** * Return the value of the field with relative links converted to absolute urls. * @return string