diff --git a/Koha.pm b/Koha.pm index 07c8fbcd61..bf17acd3c1 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "16.11.03.000"; +$VERSION = "16.11.03.001"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6eb3b54f17..025bec6df7 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -13768,6 +13768,13 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = '16.11.03.001'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES('AuthorityMergeMode','loose','loose|strict','Authority merge mode','Choice')"); + print "Upgrade to $DBversion done (Bug 17913 - Add system preference AuthorityMergeMode)\n"; + SetVersion( $DBversion ); +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it.