aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-11-27 00:55:01 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2014-11-27 00:55:01 +0100
commit893e4b3067d6ac4c5afe1a20fbb48b462e55c226 (patch)
treefb77732218b63399b22e82196d2bd4c6414aae6b /phpBB
parentee90d227c2b041df85fbbdc9cd1f99b23a858687 (diff)
downloadforums-893e4b3067d6ac4c5afe1a20fbb48b462e55c226.tar
forums-893e4b3067d6ac4c5afe1a20fbb48b462e55c226.tar.gz
forums-893e4b3067d6ac4c5afe1a20fbb48b462e55c226.tar.bz2
forums-893e4b3067d6ac4c5afe1a20fbb48b462e55c226.tar.xz
forums-893e4b3067d6ac4c5afe1a20fbb48b462e55c226.zip
[ticket/13393] Call user->lang function directly
PHPBB3-13393
Diffstat (limited to 'phpBB')
-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();