Skip to content
Snippets Groups Projects
Commit 061434e7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

don't lose info that the user does not want to see the migration nag screen anymore, fixes #1566

Closes #1566

Merge request studip/studip!988
parent a0b4395b
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ if (!Request::isXhr() && $perm->have_perm('root')) {
$migrations = $migrator->relevantMigrations(null);
$_SESSION['migration-check'] = [
'disabled' => false,
'disabled' => $_SESSION['migration-check']['disabled'] ?? false,
'timestamp' => time(),
'count' => count($migrations),
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment