From c52da55f62a6437ce487896263c3013311007f45 Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Sun, 29 Jul 2007 23:03:05 +0000 Subject: [PATCH] changed method name enabled to setEnabled git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39382 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/sitefeatures/MathSpamProtection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }