diff --git a/Koha.pm b/Koha.pm index 526b1949bf..9b1b855134 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 = "21.05.04.001"; +$VERSION = "21.05.04.003"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_29137.pl b/installer/data/mysql/atomicupdate/bug_29137.pl deleted file mode 100755 index f56e5fdc8e..0000000000 --- a/installer/data/mysql/atomicupdate/bug_29137.pl +++ /dev/null @@ -1,15 +0,0 @@ -use Modern::Perl; - -return { - bug_number => "29137", - description => "Add system preference CreateAVFromCataloguing", - up => sub { - my ($args) = @_; - my ($dbh, $out) = @$args{qw(dbh out)}; - - $dbh->do( q{ - INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) - VALUES ('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo') - }); - }, -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 587c0820ef..c21cf53ffd 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -24506,6 +24506,15 @@ if( CheckVersion( $DBversion ) ) { NewVersion( $DBversion, 28826, "Add system preference FacetOrder"); } +$DBversion = '21.05.04.003'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( q{ + INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) + VALUES ('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo') + }); + NewVersion( $DBversion, 29137, "Add system preference CreateAVFromCataloguing"); +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';