Skip to content

Commit

Permalink
Oops - mistake in upgrade.php, skip upgrade 30
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Jul 9, 2022
1 parent 83ec7a7 commit a9cc118
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions upgrade.php
Expand Up @@ -1178,14 +1178,8 @@ function upgrade_29()

function upgrade_30()
{
if (!_db_field_exists('templatedetails', 'tsugi_manage_key_id')) {
$error = _db_add_field('templatedetails', 'tsugi_manage_key_id', 'int', '-1', 'tsugi_usetsugikey');
return "Creating tsugi_manage_key_id field in templatedetails - ok ? " . ($error === false ? 'true' : 'false'). "<br>";
}
else
{
return "Creating tsugi_manage_key_id field in templatedetails already present - ok ? ". "<br>";
}
// Oops, this is also done in upgrade_33... but better! So skip this one!
return "Creating tsugi_manage_key_id field in templatedetails already present - ok ? ". "<br>";
}

function upgrade_31()
Expand Down

0 comments on commit a9cc118

Please sign in to comment.