diff options
author | Andy Chase <asperous2@gmail.com> | 2013-07-22 15:04:30 -0700 |
---|---|---|
committer | Andy Chase <asperous2@gmail.com> | 2013-07-22 15:04:30 -0700 |
commit | 80f81dd0d2d4aaef0b9c770d6071526aaca79e06 (patch) | |
tree | 82d8ccd5fe6f5207243c3d4d55d79f84fd471125 /phpBB/includes/captcha/captcha_factory.php | |
parent | b71038486e067daf0c608d73aabeb60a56e86840 (diff) | |
download | forums-80f81dd0d2d4aaef0b9c770d6071526aaca79e06.tar forums-80f81dd0d2d4aaef0b9c770d6071526aaca79e06.tar.gz forums-80f81dd0d2d4aaef0b9c770d6071526aaca79e06.tar.bz2 forums-80f81dd0d2d4aaef0b9c770d6071526aaca79e06.tar.xz forums-80f81dd0d2d4aaef0b9c770d6071526aaca79e06.zip |
[ticket/11731] Remove static calls to captcha garbage collector
PHPBB3-11731
Diffstat (limited to 'phpBB/includes/captcha/captcha_factory.php')
-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); } /** |