Browse Source
This patch renames the reviewson system pref to OPACComments Test Plan: 1. In Koha Administration, search for the reviewson system preferance 2. Note the presence of the reviewson system preferance 3. Apply the patch and run updatedatabase.pl 4. Repeat steps 1 and 2. The reviewson preferenace should be gone 5. Seach for and note the OPACComments system preferance 6. Ensure that the OPACComments system preferance operates correctly, as if it were reviewson Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> https://bugs.koha-community.org/show_bug.cgi?id=27484 Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>21.05.x
James O'Keeffe
3 years ago
committed by
Jonathan Druart
8 changed files with 14 additions and 9 deletions
@ -0,0 +1,5 @@ |
|||
$DBversion = 'XXX'; |
|||
if( CheckVersion( $DBversion ) ) { |
|||
$dbh->do(q{UPDATE systempreferences SET variable="OPACComments" WHERE variable="reviewson" }); |
|||
NewVersion( $DBversion, 27847, "Rename 'reviewson' to 'OPACComments"); |
|||
} |
Loading…
Reference in new issue