1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge pull request #6626 from LukeWCS/ticket/17325

[ticket/17325] Show message for "Re-Check version" if phpBB is still up to date
This commit is contained in:
Marc Alexander
2024-05-31 09:50:54 +02:00
2 changed files with 18 additions and 13 deletions

View File

@@ -454,6 +454,7 @@ class acp_main
$template->assign_vars(array(
'S_VERSION_UP_TO_DATE' => empty($updates_available),
'S_VERSION_UPGRADEABLE' => !empty($upgrades_available),
'S_VERSIONCHECK_FORCE' => (bool) $recheck,
'UPGRADE_INSTRUCTIONS' => !empty($upgrades_available) ? $user->lang('UPGRADE_INSTRUCTIONS', $upgrades_available['current'], $upgrades_available['announcement']) : false,
));
}