aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension/metadata_manager.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-03-19 22:37:19 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-03-19 22:37:19 +0100
commit6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2 (patch)
tree1fdf75a27f18c86e255fd8ccc352491dd25853af /phpBB/phpbb/extension/metadata_manager.php
parentbd34b2301edbe4d3dbe3c980c568cf96c05eab40 (diff)
downloadforums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar
forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.gz
forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.bz2
forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.xz
forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.zip
[ticket/15135] Parse language files in acp_extensions instead of md manager
PHPBB3-15135
Diffstat (limited to 'phpBB/phpbb/extension/metadata_manager.php')
-rw-r--r--phpBB/phpbb/extension/metadata_manager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/extension/metadata_manager.php b/phpBB/phpbb/extension/metadata_manager.php
index f929433bff..3dc6cdaee6 100644
--- a/phpBB/phpbb/extension/metadata_manager.php
+++ b/phpBB/phpbb/extension/metadata_manager.php
@@ -278,7 +278,7 @@ class metadata_manager
{
if (substr_count($this->ext_name, '/') !== 1 || $this->ext_name != $this->get_metadata('name'))
{
- throw new \phpbb\extension\exception($this->user->lang('EXTENSION_DIR_INVALID'));
+ throw new \phpbb\extension\exception('EXTENSION_DIR_INVALID');
}
return true;
@@ -295,7 +295,7 @@ class metadata_manager
{
if (!isset($this->metadata['extra']['soft-require']['phpbb/phpbb']))
{
- throw new \phpbb\extension\exception($this->user->lang('META_FIELD_NOT_SET', 'soft-require'));
+ throw new \phpbb\extension\exception('META_FIELD_NOT_SET', 'soft-require');
}
return true;
@@ -311,7 +311,7 @@ class metadata_manager
{
if (!isset($this->metadata['require']['php']))
{
- throw new \phpbb\extension\exception($this->user->lang('META_FIELD_NOT_SET', 'require php'));
+ throw new \phpbb\extension\exception('META_FIELD_NOT_SET', 'require php');
}
return true;