1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3 $dbh->do("INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('StaffLangSelectorMode','footer','top|both|footer','Select the location to display the language selector in staff client','Choice')" );
5 # or perform some test and warn
6 # if( !column_exists( 'biblio', 'biblionumber' ) ) {
7 # warn "There is something wrong";
10 # Always end with this (adjust the bug info)
11 SetVersion( $DBversion );
12 print "Upgrade to $DBversion done (Bug 18718 - Language selector in staff header menu similar to OPAC )\n";