summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 23:26:59 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 23:26:59 -0400
commitdb3cb85d0992dd49ca2fdf33ea35c0cad60e312f (patch)
treecc93adcf6708dca02e02b4e4acb2aa654d073eca /src/lib
parentfef0de218e9485ea3db394f3e173b3c64a0463a8 (diff)
Implement ReCaptcha entirely as a plugin, remove all of the ugliness
from my old implementation.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Plugin.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Plugin.class.php b/src/lib/Plugin.class.php
index 8c7fad8..9d2fc2e 100644
--- a/src/lib/Plugin.class.php
+++ b/src/lib/Plugin.class.php
@@ -19,4 +19,7 @@ abstract class Plugin {
}
public abstract function init();
+
+ public function antispam_html() { return ''; }
+ public function antispam_verify() { return true; }
}