[ticket/12610] CS

PHPBB3-12610
This commit is contained in:
Tristan Darricau 2015-08-26 13:33:38 +02:00 committed by Tristan Darricau
parent 45dda53310
commit 0256c69191
No known key found for this signature in database
GPG key ID: 817043C2E29DB881
3 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);

View file

@ -12,6 +12,7 @@
*/
namespace phpbb;
use phpbb\exception\runtime_exception;
/**