1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/17414] Add unit test for legacy wrapper

PHPBB-17414
This commit is contained in:
Marc Alexander
2024-10-20 09:43:45 +02:00
parent 08ab64a3b2
commit fd994f4742
2 changed files with 262 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ class legacy_wrapper implements plugin_interface
{
if (method_exists($this->legacy_captcha, 'get_name'))
{
return $this->legacy_captcha->has_config();
return $this->legacy_captcha->get_name();
}
return '';