filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.

This commit is contained in:
tjhunt
2009-04-13 06:54:57 +00:00
parent 1f8c468dbd
commit d57f347420
-4
View File
@@ -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;