Commit b89bd3cd authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't always show the core upgrade message on the admin screen.



I errorneously added this when committing evonne's theme stuff.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent daaa457c
...@@ -76,7 +76,7 @@ function check_upgrades($name=null) { ...@@ -76,7 +76,7 @@ function check_upgrades($name=null) {
$toupgrade['core'] = $core; $toupgrade['core'] = $core;
$installing = true; $installing = true;
} }
else if (true || $config->version > $coreversion) { else if ($config->version > $coreversion) {
$corerelease = get_config('release'); $corerelease = get_config('release');
if (isset($config->minupgradefrom) && isset($config->minupgraderelease) if (isset($config->minupgradefrom) && isset($config->minupgraderelease)
&& $coreversion < $config->minupgradefrom) { && $coreversion < $config->minupgradefrom) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment