Browse Source
Test Plan: 1. Go to Administration 2. Go to System Preferences 3. Find 'opaclanguages' (note the lack of capitalisation) 4. Apply patch 5. Repeat step 1 and 2 6. Find 'OPACLanguages' (note the use of capitalisation) Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>21.05.x
Mazen Khallaf
3 years ago
committed by
Jonathan Druart
15 changed files with 29 additions and 16 deletions
@ -0,0 +1,13 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
# you can use $dbh here like: |
|||
$dbh->do(q{UPDATE systempreferences set variable="OPACLanguages" WHERE variable="opaclanguages"}); |
|||
|
|||
# or perform some test and warn |
|||
# if( !column_exists( 'biblio', 'biblionumber' ) ) { |
|||
# warn "There is something wrong"; |
|||
# } |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
NewVersion( $DBversion, 27491, "Description"); |
|||
} |
Loading…
Reference in new issue