mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
7d2f612ac8
commit
c52da55f62
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user