mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
MINOR: correct typo in class name
This commit is contained in:
parent
b8609bab2d
commit
c0954b5ba8
4
INSTALL
4
INSTALL
@ -24,7 +24,7 @@ Before putting the following code in '_config.php', make sure you have a subclas
|
|||||||
|
|
||||||
<<<< CODE STARTS >>>>
|
<<<< CODE STARTS >>>>
|
||||||
|
|
||||||
SpamProctecterManager::set_spam_protecter('MollomField');
|
SpamProtecterManager::set_spam_protecter('MollomField');
|
||||||
|
|
||||||
<<<< CODE ENDS >>>>
|
<<<< CODE ENDS >>>>
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ This following code should appear after the form creation.
|
|||||||
|
|
||||||
<<<< CODE STARTS >>>>
|
<<<< CODE STARTS >>>>
|
||||||
|
|
||||||
$protectorField = SpamProctecterManager::update_form('MollomField', 'Captcha', $form, 'Message', $callbackObj);
|
$protectorField = SpamProtecterManager::update_form('MollomField', 'Captcha', $form, 'Message', $callbackObj);
|
||||||
|
|
||||||
<<<< CODE ENDS >>>>
|
<<<< CODE ENDS >>>>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This class is responsible for setting an system-wide spam protecter field
|
* This class is responsible for setting an system-wide spam protecter field
|
||||||
* and add the protecter field to a form
|
* and add the protecter field to a form
|
||||||
*/
|
*/
|
||||||
class SpamProctecterManager {
|
class SpamProtecterManager {
|
||||||
|
|
||||||
static $spam_protecter = null;
|
static $spam_protecter = null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user