fixes #658, upgrade script to 2.9

This commit is contained in:
plegall
2017-04-24 16:03:25 +02:00
parent bafdcf52da
commit b56832c873
3 changed files with 133 additions and 3 deletions
+6 -2
View File
@@ -346,6 +346,10 @@ else if (!in_array('activation_key_expire', $columns_of[PREFIX_TABLE.'user_infos
{
$current_release = '2.6.0';
}
else if (!in_array('auth_key_id', $columns_of[PREFIX_TABLE.'history']))
{
$current_release = '2.7.0';
}
else
{
// retrieve already applied upgrades
@@ -355,9 +359,9 @@ SELECT id
;';
$applied_upgrades = array_from_query($query, 'id');
if (!in_array(148, $applied_upgrades))
if (!in_array(152, $applied_upgrades))
{
$current_release = '2.7.0';
$current_release = '2.8.0';
}
else
{