mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11731] Remove static calls to captcha garbage collector
PHPBB3-11731
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user