diff --git a/code/sitefeatures/MathSpamProtection.php b/code/sitefeatures/MathSpamProtection.php index 50a9e9a4..841894b9 100644 --- a/code/sitefeatures/MathSpamProtection.php +++ b/code/sitefeatures/MathSpamProtection.php @@ -11,7 +11,7 @@ class MathSpamProtection { return (self::$mathProtection != null) ? true : false; } - static function enabled($math = true) { + static function setEnabled($math = true) { MathSpamProtection::$mathProtection = $math; }