From c0954b5ba843474e684cf288fe39dba96464fce9 Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Wed, 11 Feb 2009 00:27:18 +0000 Subject: [PATCH] MINOR: correct typo in class name --- INSTALL | 4 ++-- code/{SpamProctecterManager.php => SpamProtecterManager.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename code/{SpamProctecterManager.php => SpamProtecterManager.php} (98%) diff --git a/INSTALL b/INSTALL index 7057b42..b78f5d2 100644 --- a/INSTALL +++ b/INSTALL @@ -24,7 +24,7 @@ Before putting the following code in '_config.php', make sure you have a subclas <<<< CODE STARTS >>>> -SpamProctecterManager::set_spam_protecter('MollomField'); +SpamProtecterManager::set_spam_protecter('MollomField'); <<<< CODE ENDS >>>> @@ -40,7 +40,7 @@ This following code should appear after the form creation. <<<< CODE STARTS >>>> -$protectorField = SpamProctecterManager::update_form('MollomField', 'Captcha', $form, 'Message', $callbackObj); +$protectorField = SpamProtecterManager::update_form('MollomField', 'Captcha', $form, 'Message', $callbackObj); <<<< CODE ENDS >>>> diff --git a/code/SpamProctecterManager.php b/code/SpamProtecterManager.php similarity index 98% rename from code/SpamProctecterManager.php rename to code/SpamProtecterManager.php index 6edf95c..a690b40 100644 --- a/code/SpamProctecterManager.php +++ b/code/SpamProtecterManager.php @@ -3,7 +3,7 @@ * This class is responsible for setting an system-wide spam protecter field * and add the protecter field to a form */ -class SpamProctecterManager { +class SpamProtecterManager { static $spam_protecter = null;