From d57f347420c832f74b4aab3cc173d2b19e6e78da Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 13 Apr 2009 06:54:57 +0000 Subject: [PATCH] filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. --- filter/emailprotect/filter.php | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.39.5