From 82a2a8273aa8526be3ee2e04110fbb43fa704b06 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste-Henry Date: Mon, 10 Jan 2022 14:57:51 +0000 Subject: [PATCH] Bug 29457: DBRev 20.11.14.001 Signed-off-by: Andrew Fuerste-Henry (cherry picked from commit 7a87c3ddb33ed561da194f717be49565e85e8af8) Signed-off-by: Victor Grousset/tuxayo --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_29457.pl | 12 ------------ installer/data/mysql/updatedatabase.pl | 5 +++++ 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100755 installer/data/mysql/atomicupdate/bug_29457.pl diff --git a/Koha.pm b/Koha.pm index e3994bd944..0661725c01 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 = "20.11.14.000"; +$VERSION = "20.11.14.001"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_29457.pl b/installer/data/mysql/atomicupdate/bug_29457.pl deleted file mode 100755 index 1797614291..0000000000 --- a/installer/data/mysql/atomicupdate/bug_29457.pl +++ /dev/null @@ -1,12 +0,0 @@ -use Modern::Perl; - -return { - bug_number => "29457", - description => "Fee Cancellation records the wrong manager_id", - up => sub { - my ($args) = @_; - my ($dbh, $out) = @$args{qw(dbh out)}; - say $out "WARNING: You may have some incorrect manager_id's recorded against account cancellation lines, please see bugzilla for details."; - say $out "NOTE: You may already have this bugfix applied at an earlier upgrade."; - }, -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 5127b522f3..2fd203b5ad 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -23752,6 +23752,11 @@ if ( CheckVersion( $DBversion ) ) { NewVersion( $DBversion, "", "Koha 20.11.14 release" ); } +$DBversion = '20.11.14.001'; +if ( CheckVersion( $DBversion ) ) { + NewVersion( $DBversion, "29457", "WARNING: You may have some incorrect manager_id's recorded against account cancellation lines, please see bugzilla for details. NOTE: You may already have this bugfix applied at an earlier upgrade."); +} + # 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/'; -- 2.39.5