From a30c28b5fc2ff8152de61c2c3440d9a7131deab8 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 27 Jan 2009 08:21:54 +0000 Subject: Make the comment -> recaptcha binding happen via an event dispatch as opposed to a direct call. --- modules/recaptcha/helpers/recaptcha_event.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/recaptcha/helpers/recaptcha_event.php (limited to 'modules/recaptcha/helpers') diff --git a/modules/recaptcha/helpers/recaptcha_event.php b/modules/recaptcha/helpers/recaptcha_event.php new file mode 100644 index 00000000..d5dac756 --- /dev/null +++ b/modules/recaptcha/helpers/recaptcha_event.php @@ -0,0 +1,25 @@ +add_comment->recaptcha("recaptcha")->label("")->id("gRecaptcha"); + } +} -- cgit v1.2.3