1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

[ticket/13393] Call user->lang function directly

PHPBB3-13393
This commit is contained in:
Oliver Schramm 2014-11-27 00:55:01 +01:00
parent ee90d227c2
commit 893e4b3067

View File

@ -259,7 +259,7 @@ class version_helper
}
catch (\RuntimeException $exception)
{
throw new \RuntimeException(call_user_func_array(array($this->user, 'lang'), $exception->getMessage()));
throw new \RuntimeException($this->user->lang($exception->getMessage()));
}
$error_string = $this->file_downloader->get_error_string();