X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=installer%2Fdata%2Fmysql%2Fupdatedatabase.pl;h=4129cc57bf5ab24f6c3c7de556c06ae15bff760d;hb=4cd57521c43f4e8c5e37ec61e1112ff2b74453ad;hp=02875965989b96dce801855d11cf3d25478c73e5;hpb=5616e22236e8c263da0629a25b3aa7146e19c866;p=koha_ffzg diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 0287596598..4129cc57bf 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -16358,6 +16358,17 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 7534 - Let libraries have configuration for pickup locations)\n"; } +$DBversion = '18.06.00.025'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES + ('KohaManualBaseURL','https://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'), + ('KohaManualLanguage','en','en|ar|cs|es|de|fr|it|pt_BR|tr|zh_TW','What is the language of the online manual you want to use?','Choice') + }); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 19817: Add pref KohaManualLanguage and KohaManualBaseURL)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it.