diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-08-26 13:33:38 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2016-12-03 16:37:35 +0100 |
commit | 0256c69191db7b2102d5fb338401ab3f58b118c6 (patch) | |
tree | 5d5ca0ef8aa97c77119c69747a3248dcc87c0ddf | |
parent | 45dda53310bb618dce0813d61a85948cb334e4a9 (diff) | |
download | forums-0256c69191db7b2102d5fb338401ab3f58b118c6.tar forums-0256c69191db7b2102d5fb338401ab3f58b118c6.tar.gz forums-0256c69191db7b2102d5fb338401ab3f58b118c6.tar.bz2 forums-0256c69191db7b2102d5fb338401ab3f58b118c6.tar.xz forums-0256c69191db7b2102d5fb338401ab3f58b118c6.zip |
[ticket/12610] CS
PHPBB3-12610
-rwxr-xr-x | phpBB/bin/phpbbcli.php | 1 | ||||
-rw-r--r-- | phpBB/phpbb/extension/manager.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/version_helper.php | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index 2c3675bbf1..6bd217ec07 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -81,7 +81,6 @@ $user->data['user_id'] = ANONYMOUS; $user->ip = '127.0.0.1'; $application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $language); -$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $lang); $application->setDispatcher($phpbb_container->get('dispatcher')); $application->register_container_commands($phpbb_container->get('console.command_collection')); $application->run($input); diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php index da1f06c885..b2b60aaa9b 100644 --- a/phpBB/phpbb/extension/manager.php +++ b/phpBB/phpbb/extension/manager.php @@ -589,7 +589,7 @@ class manager $version_helper = new \phpbb\version_helper($this->cache, $this->config, new file_downloader()); $version_helper->set_current_version($meta['version']); - $version_helper->set_file_location($version_check ['host'], $version_check ['directory'], $version_check ['filename']); + $version_helper->set_file_location($version_check['host'], $version_check['directory'], $version_check['filename']); $version_helper->force_stability($stability); return $updates = $version_helper->get_suggested_updates($force_update, $force_cache); diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php index 227bb72403..b1dcdf10d9 100644 --- a/phpBB/phpbb/version_helper.php +++ b/phpBB/phpbb/version_helper.php @@ -12,6 +12,7 @@ */ namespace phpbb; + use phpbb\exception\runtime_exception; /** |