aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-30 01:18:32 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-30 01:23:13 +0200
commit0ff2e93c1937f96f8fcd733a152a0c2f263706b1 (patch)
tree0a62c9835e7c3967cf3b5ce1fda72508c635eab5
parent91392c728826c38fd625a80c4e855d373b6866e1 (diff)
downloadforums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.gz
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.bz2
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.tar.xz
forums-0ff2e93c1937f96f8fcd733a152a0c2f263706b1.zip
[ticket/11574] Do not display incompatible package note after successful update
PHPBB3-11574
-rw-r--r--phpBB/install/install_update.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index dce0134730..4ae39f202f 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -313,6 +313,11 @@ class install_update extends module
'L_EVERYTHING_UP_TO_DATE' => $user->lang('EVERYTHING_UP_TO_DATE', append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'), append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login&amp;redirect=' . $phpbb_adm_relative_path . 'index.php%3Fi=send_statistics%26mode=send_statistics')),
));
+ // Do not display incompatible package note after successful update
+ if ($config['version'] == $this->update_info['version']['to'])
+ {
+ $template->assign_var('S_ERROR', false);
+ }
break;
case 'file_check':