changed method name enabled to setEnabled

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39382 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jeremy Shipman 2007-07-29 23:03:05 +00:00
parent 7d2f612ac8
commit c52da55f62

View File

@ -11,7 +11,7 @@ class MathSpamProtection {
return (self::$mathProtection != null) ? true : false; return (self::$mathProtection != null) ? true : false;
} }
static function enabled($math = true) { static function setEnabled($math = true) {
MathSpamProtection::$mathProtection = $math; MathSpamProtection::$mathProtection = $math;
} }