diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-11-22 15:23:26 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-11-22 15:23:26 +0100 |
commit | f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe (patch) | |
tree | 9f072c65ec4fe94bef4c6e332aa6dda7e8156b0e /phpBB/includes | |
parent | 6d3ac29aeef9e1222ddcaeab066ca8325d147fee (diff) | |
download | forums-f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe.tar forums-f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe.tar.gz forums-f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe.tar.bz2 forums-f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe.tar.xz forums-f3ae5e4cb2cf1f3db1d2b8e2a34e234845712efe.zip |
[ticket/13358] Correctly create version_helper in acp_extensions
The full namespace for the file_downloader is now also being used in
version_helper.
PHPBB3-13358
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 9bdd8eb458..89fdc8b863 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -537,7 +537,7 @@ class acp_extensions $version_check = $meta['extra']['version-check']; - $version_helper = new \phpbb\version_helper($this->cache, $this->config, $this->user); + $version_helper = new \phpbb\version_helper($this->cache, $this->config, new \phpbb\file_downloader(), $this->user); $version_helper->set_current_version($meta['version']); $version_helper->set_file_location($version_check['host'], $version_check['directory'], $version_check['filename']); $version_helper->force_stability($this->config['extension_force_unstable'] ? 'unstable' : null); |