This commit is contained in:
grandeljay 2022-11-25 23:39:01 +01:00
parent 1f2057fb4c
commit 4e1aef1d3a

View file

@ -36,13 +36,6 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
if ($sql) {
$database->query($sql);
$page->messages[] = Page::success(
sprintf(
__('Database successfully migrated to %s.'),
'v' . $version['version']
)
);
}
}
}
@ -50,6 +43,13 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
/** Update version */
$options->setOption('version', VERSION);
$options->setOption('updateAvailable', false);
$page->messages[] = Page::success(
sprintf(
__('Database successfully migrated to %s.'),
'v' . VERSION
)
);
}
$page->header();