From 3d3f68acf7c4f5ccc28298af029cdde46af5713a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 28 Oct 2024 18:26:41 +0000 Subject: [PATCH] Bug 38274: DBRev 24.06.00.049 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_38274.pl | 13 ------------- installer/data/mysql/db_revs/240600049.pl | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 14 deletions(-) delete mode 100755 installer/data/mysql/atomicupdate/bug_38274.pl create mode 100755 installer/data/mysql/db_revs/240600049.pl diff --git a/Koha.pm b/Koha.pm index 6ad5d7c2d0..9d54a4bf34 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 = "24.06.00.048"; +$VERSION = "24.06.00.049"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_38274.pl b/installer/data/mysql/atomicupdate/bug_38274.pl deleted file mode 100755 index 9936d3b335..0000000000 --- a/installer/data/mysql/atomicupdate/bug_38274.pl +++ /dev/null @@ -1,13 +0,0 @@ -use Modern::Perl; -use Koha::Installer::Output qw(say_warning say_failure say_success say_info); - -return { - bug_number => "38274", - description => "Fix typo in arabic language description", - up => sub { - my ($args) = @_; - my ( $dbh, $out ) = @$args{qw(dbh out)}; - - $dbh->do(q{ UPDATE language_descriptions SET description='العربية' WHERE subtag='ar' AND type='language' AND lang='ar' }); - }, -}; diff --git a/installer/data/mysql/db_revs/240600049.pl b/installer/data/mysql/db_revs/240600049.pl new file mode 100755 index 0000000000..310099d7c9 --- /dev/null +++ b/installer/data/mysql/db_revs/240600049.pl @@ -0,0 +1,16 @@ +use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); + +return { + bug_number => "38274", + description => "Fix typo in Arabic language description", + up => sub { + my ($args) = @_; + my ( $dbh, $out ) = @$args{qw(dbh out)}; + + $dbh->do( + q{ UPDATE language_descriptions SET description='العربية' WHERE subtag='ar' AND type='language' AND lang='ar' } + ); + say_success( $out, "Updated Arabic language description" ); + }, +}; -- 2.39.5