mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
Merge pull request #17 from tractorcow/pulls/refactor-mapping
API Updated to support SpamProtector API tweak
This commit is contained in:
commit
ef8eb2606f
@ -14,5 +14,10 @@ class MathSpamProtector implements SpamProtector {
|
|||||||
public function getFormField($name = null, $title = null, $value = null) {
|
public function getFormField($name = null, $title = null, $value = null) {
|
||||||
return new MathSpamProtectorField($name, $title, $value);
|
return new MathSpamProtectorField($name, $title, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
/**
|
||||||
|
* Not used by MathSpamProtector
|
||||||
|
*/
|
||||||
|
public function setFieldMapping($fieldMapping) {}
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user