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

[ticket/17414] Remove request data from validate call

PHPBB-17414
This commit is contained in:
Marc Alexander
2024-10-11 21:28:30 +02:00
parent 6a34de543b
commit 2a6609013d
4 changed files with 5 additions and 6 deletions

View File

@@ -90,11 +90,11 @@ class legacy_wrapper implements plugin_interface
/**
* {@inheritDoc}
*/
public function validate(array $request_data): bool
public function validate(): bool
{
if (method_exists($this->legacy_captcha, 'validate'))
{
$error = $this->legacy_captcha->validate($request_data);
$error = $this->legacy_captcha->validate();
if ($error)
{
$this->last_error = $error;