From: tjhunt Date: Mon, 13 Apr 2009 06:54:57 +0000 (+0000) Subject: filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d57f347420c832f74b4aab3cc173d2b19e6e78da;p=moodle.git filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. --- diff --git a/filter/emailprotect/filter.php b/filter/emailprotect/filter.php index 02b1f4e5fe..612b639f58 100644 --- a/filter/emailprotect/filter.php +++ b/filter/emailprotect/filter.php @@ -8,10 +8,6 @@ class emailprotect_filter extends filter_base { parent::__construct($courseid, $format, $options); } function filter($text) { - if (!empty($CFG->formatstring)) { - return $text; - } - /// Do a quick check using stripos to avoid unnecessary work if (strpos($text, '@') === false) { return $text;