spamBee: Fixed the plugin constrctor to make it compatible with the
plugin api.
This commit is contained in:
parent
e89e1364d6
commit
15477decd7
|
@ -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.
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?php
|
||||
@define('PLUGIN_SPAMBLOCK_BEE_VERSION', '1.2.5');
|
||||
@define('PLUGIN_SPAMBLOCK_BEE_VERSION', '1.2.6');
|
Loading…
Reference in a new issue