aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-30 23:01:19 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-30 23:01:19 +0200
commit9f87c497fe25611ddd2f6963ce38b7edad876de3 (patch)
treefa1a2019cdd0550e413135f594d340eb12cc8dd5 /phpBB/includes
parent669a6c3e3d29688b69bb0fb39dd7d4099c78ffbd (diff)
parent7f00c38c50dbd6689f80afaf324c1ee81173d15a (diff)
downloadforums-9f87c497fe25611ddd2f6963ce38b7edad876de3.tar
forums-9f87c497fe25611ddd2f6963ce38b7edad876de3.tar.gz
forums-9f87c497fe25611ddd2f6963ce38b7edad876de3.tar.bz2
forums-9f87c497fe25611ddd2f6963ce38b7edad876de3.tar.xz
forums-9f87c497fe25611ddd2f6963ce38b7edad876de3.zip
Merge pull request #2447 from n-aleha/ticket/11467
[ticket/11467] Add language variables for extension exception messages * n-aleha/ticket/11467: [ticket/11467] Add user object to extension manager for tests [ticket/11467] Add language variables to tests [ticket/11467] Add language variables for extension exception messages
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_extensions.php2
-rw-r--r--phpBB/includes/functions_admin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index 88b6a9c270..3d3cfb7f16 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -70,7 +70,7 @@ class acp_extensions
// If they've specified an extension, let's load the metadata manager and validate it.
if ($ext_name)
{
- $md_manager = new \phpbb\extension\metadata_manager($ext_name, $config, $phpbb_extension_manager, $template, $phpbb_root_path);
+ $md_manager = new \phpbb\extension\metadata_manager($ext_name, $config, $phpbb_extension_manager, $template, $user, $phpbb_root_path);
try
{
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 3000a18668..2d3ac62f86 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -3030,7 +3030,7 @@ function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port
}
else if (stripos($line, '404 not found') !== false)
{
- $errstr = $user->lang('FILE_NOT_FOUND', $filename);
+ $errstr = $user->lang('FILE_NOT_FOUND', $filename);
return false;
}
}