aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index c2a68a920..636945cbd 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -181,9 +181,13 @@ if (!isset($_GET['version']))
{
$current_release = '1.5.0';
}
+ else if (!in_array('auto_login_key', $columns_of[PREFIX_TABLE.'user_infos']))
+ {
+ $current_release = '1.6.0';
+ }
else
{
- die('You are already on branch 1.6, no upgrade required');
+ die('No upgrade required, the database structure is up to date');
}
$template->assign_block_vars(
@@ -223,7 +227,7 @@ else
array(
'id' => $upgrade_id,
'applied' => CURRENT_DATE,
- 'description' => 'upgrade included in upgrade',
+ 'description' => 'upgrade included in migration',
)
);
}