diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-11 18:41:22 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-28 22:16:51 +0200 |
commit | bee6c6baeafdf894fd8e30de33e4d94185af5745 (patch) | |
tree | b4fae3c955dbf376a7cb1003b409f75a287ff70e /phpBB/includes | |
parent | 29244c29d1fbc8e086073774a95ffb8ea50761df (diff) | |
download | forums-bee6c6baeafdf894fd8e30de33e4d94185af5745.tar forums-bee6c6baeafdf894fd8e30de33e4d94185af5745.tar.gz forums-bee6c6baeafdf894fd8e30de33e4d94185af5745.tar.bz2 forums-bee6c6baeafdf894fd8e30de33e4d94185af5745.tar.xz forums-bee6c6baeafdf894fd8e30de33e4d94185af5745.zip |
[ticket/11366] Fix detailed view
PHPBB3-11366
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 548aad3df1..2c06050e5c 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -472,10 +472,12 @@ class acp_extensions } /** - * Check the version and return the availables updates. + * Check the version and return the available updates. * * @param \phpbb\extension\metadata_manager $md_manager The metadata manager for the version to check. * @param bool $force Ignores cached data. Default to false. + * @return string + * @throws RuntimeException */ protected function version_check(\phpbb\extension\metadata_manager $md_manager, $force = false) { @@ -492,7 +494,7 @@ class acp_extensions $version_helper->set_current_version($meta['version']); $version_helper->set_file_location($version_check ['host'], $version_check ['directory'], $version_check ['filename']); - return $updates = $version_helper->get_suggested_updates(true); + return $updates = $version_helper->get_suggested_updates($force); } /** |