Bug 7857 - invalidate cached preferences after SetVersion
[koha_fer] / installer / data / mysql / updatedatabase.pl
index 1b6fe84..0a2aea9 100755 (executable)
@@ -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;