diff options
Diffstat (limited to 'phpBB/includes/captcha')
| -rw-r--r-- | phpBB/includes/captcha/captcha_factory.php | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php index 1ed8e119b5..fac45087e3 100644 --- a/phpBB/includes/captcha/captcha_factory.php +++ b/phpBB/includes/captcha/captcha_factory.php @@ -50,7 +50,8 @@ class phpbb_captcha_factory  		{  			include($phpbb_root_path . "includes/captcha/plugins/{$name}_plugin." . $phpEx);  		} -		call_user_func(array($name, 'garbage_collect'), 0); +		$captcha = self::get_instance($name); +		$captcha->garbage_collect(0);  	}  	/**  | 
