]> git.mjollnir.org Git - moodle.git/commitdiff
filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.
authortjhunt <tjhunt>
Mon, 13 Apr 2009 06:54:57 +0000 (06:54 +0000)
committertjhunt <tjhunt>
Mon, 13 Apr 2009 06:54:57 +0000 (06:54 +0000)
filter/emailprotect/filter.php

index 02b1f4e5fedad3022c0561b43a86d8ab784da4f5..612b639f58fafea59285d481be681fe1f4021446 100644 (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;