diff --git a/phpBB/adm/style/acp_ext_details.html b/phpBB/adm/style/acp_ext_details.html index 65a9d3c774..830c2e3cb4 100644 --- a/phpBB/adm/style/acp_ext_details.html +++ b/phpBB/adm/style/acp_ext_details.html @@ -6,7 +6,11 @@

{L_EXTENSIONS_ADMIN}

- + +
+

{UP_TO_DATE_MSG} - {L_VERSIONCHECK_FORCE_UPDATE}

+
+

{L_VERSIONCHECK_FAIL}

{VERSIONCHECK_FAIL_REASON}

@@ -17,11 +21,6 @@

{VERSIONCHECK_FAIL_REASON}

- -
-

{UP_TO_DATE_MSG} - {L_VERSIONCHECK_FORCE_UPDATE}

-
-
{L_EXT_DETAILS} 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); } /**