Bug 7857 - invalidate cached preferences after SetVersion
This allows plack to correctly move to login page after database upgrade
This commit is contained in:
parent
8c309c1a67
commit
a29a5df175
1 changed files with 1 additions and 0 deletions
|
@ -5459,6 +5459,7 @@ sub SetVersion {
|
|||
my $finish=$dbh->prepare("INSERT into systempreferences (variable,value,explanation) values ('Version',?,'The Koha database version. WARNING: Do not change this value manually, it is maintained by the webinstaller')");
|
||||
$finish->execute($kohaversion);
|
||||
}
|
||||
C4::Context::clear_syspref_cache(); # invalidate cached preferences
|
||||
}
|
||||
exit;
|
||||
|
||||
|
|
Loading…
Reference in a new issue