Skip to content

Commit

Permalink
Fix wrong declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Sep 26, 2016
1 parent 0c3afb6 commit e47a7f6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions _captcha_img.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
*
* @author blueyed: Daniel HAHLER
* @author Ben Franske, http://ben.franske.com
*
* @version $Id: _captcha_img.plugin.php 1196 2010-03-29 18:29:50Z blueyed $
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );

Expand All @@ -63,7 +61,7 @@
*/
class captcha_img_plugin extends Plugin
{
var $version = '2.0.3';
var $version = '2.0.4';
var $group = 'antispam';

/**
Expand Down Expand Up @@ -93,7 +91,7 @@ function PluginInit( & $params )
}


function GetDefaultSettings()
function GetDefaultSettings( & $params )
{
global $Settings;

Expand Down Expand Up @@ -426,7 +424,7 @@ function CaptchaValidated( & $params )
* @param array Associative list of parameters.
* - 'prefix': key/prefix to use for the form params (string, OPTIONALLY)
*/
function CaptchaValidatedCleanup( $params = array() )
function CaptchaValidatedCleanup( & $params )
{
global $DB, $Session;

Expand Down Expand Up @@ -644,7 +642,7 @@ function BeforeCommentFormInsert( & $params )
/**
* Cleanup after a comment has been inserted.
*/
function AfterCommentFormInsert()
function AfterCommentFormInsert( & $params )
{
$this->CaptchaValidatedCleanup();
}
Expand Down Expand Up @@ -714,7 +712,7 @@ function MessageFormSent( & $params )
/**
* Cleanup.
*/
function MessageFormSentCleanup()
function MessageFormSentCleanup( & $params )
{
$this->CaptchaValidatedCleanup();
}
Expand Down

0 comments on commit e47a7f6

Please sign in to comment.