From 77365090f57fe83eff37402f6dcc725fdee00c92 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 4 Nov 2020 11:53:04 +0000 Subject: [PATCH] Bug 25333: DBRev 20.06.00.058 Signed-off-by: Jonathan Druart --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_25333.perl | 9 --------- installer/data/mysql/updatedatabase.pl | 9 +++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_25333.perl diff --git a/Koha.pm b/Koha.pm index c667949c8e..c24d32a438 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.06.00.057"; +$VERSION = "20.06.00.058"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_25333.perl b/installer/data/mysql/atomicupdate/bug_25333.perl deleted file mode 100644 index 3c1c1859d2..0000000000 --- a/installer/data/mysql/atomicupdate/bug_25333.perl +++ /dev/null @@ -1,9 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do(q{ - UPDATE message_transport_types SET message_transport_type = "itiva" WHERE message_transport_type = "phone" - }); - - # Always end with this (adjust the bug info) - NewVersion( $DBversion, 25333, q{Change message transport type for Talking Tech from "phone" to "itiva"}); -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index db0746bdc6..a922efa6d4 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -23174,6 +23174,15 @@ if( CheckVersion( $DBversion ) ) { NewVersion( $DBversion, 26638, "Add missing system preference ArticleRequestsMandatoryFieldsItemOnly"); } +$DBversion = '20.06.00.058'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + UPDATE message_transport_types SET message_transport_type = "itiva" WHERE message_transport_type = "phone" + }); + + NewVersion( $DBversion, 25333, q{Change message transport type for Talking Tech from "phone" to "itiva"}); +} + # 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