aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/version_helper.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-29 09:08:51 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-29 09:08:51 +0100
commitac8b07ddd934c9bcda0d5ce38fb7e438083afc7b (patch)
treed6c10ae67686c12e44adf69de7820fe50587a3b2 /phpBB/phpbb/version_helper.php
parent8f1a1874a9fa6043e27d297ee14d5e622e177002 (diff)
parent893e4b3067d6ac4c5afe1a20fbb48b462e55c226 (diff)
downloadforums-ac8b07ddd934c9bcda0d5ce38fb7e438083afc7b.tar
forums-ac8b07ddd934c9bcda0d5ce38fb7e438083afc7b.tar.gz
forums-ac8b07ddd934c9bcda0d5ce38fb7e438083afc7b.tar.bz2
forums-ac8b07ddd934c9bcda0d5ce38fb7e438083afc7b.tar.xz
forums-ac8b07ddd934c9bcda0d5ce38fb7e438083afc7b.zip
Merge pull request #3192 from Elsensee/ticket/13393
[ticket/13393] Call user->lang function directly
Diffstat (limited to 'phpBB/phpbb/version_helper.php')
-rw-r--r--phpBB/phpbb/version_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php
index 7387ad296e..dc62f06fb2 100644
--- a/phpBB/phpbb/version_helper.php
+++ b/phpBB/phpbb/version_helper.php
@@ -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();