spamBee: Fixed the plugin constrctor to make it compatible with the

plugin api.
This commit is contained in:
Grischa Brockhaus 2012-09-25 13:00:00 +02:00
parent e89e1364d6
commit 15477decd7
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,6 @@
Version 1.2.6
* Fixed the plugin constrctor to make it compatible with the plugin api.
Version 1.2.5
* AntiSpam statistics sidebar plugin.

View file

@ -79,7 +79,9 @@ class serendipity_event_spamblock_bee extends serendipity_event
* Constructor. Initialize class variables from configuration
* @return void
*/
function serendipity_event_spamblock_bee() {
function serendipity_event_spamblock_bee($instance) {
$this->instance = $instance;
$this->answerRetrievalMethod = $this->get_config('answer_retrieval_method', 'default');
$this->captchaQuestionType = $this->get_config('question_type', 'math');
$this->useHoneyPot = $this->get_config('do_honeypot', true);

View file

@ -1,2 +1,2 @@
<?php
@define('PLUGIN_SPAMBLOCK_BEE_VERSION', '1.2.5');
@define('PLUGIN_SPAMBLOCK_BEE_VERSION', '1.2.6');