Merge pull request #17 from tractorcow/pulls/refactor-mapping

API Updated to support SpamProtector API tweak
This commit is contained in:
Ingo Schommer 2014-02-19 10:24:13 +13:00
commit ef8eb2606f

View File

@ -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) {}
}