filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user