From 35e03400495924088081e825349261a3c2b54ac8 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 1 Aug 2022 14:05:45 -0300 Subject: [PATCH] Bug 30077: DBRev 22.06.00.028 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- ...d_syspref_IntranetAddMastheadLibraryPulldown.pl | 14 -------------- installer/data/mysql/db_revs/220600028.pl | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) delete mode 100755 installer/data/mysql/atomicupdate/bug_30077_add_syspref_IntranetAddMastheadLibraryPulldown.pl create mode 100755 installer/data/mysql/db_revs/220600028.pl diff --git a/Koha.pm b/Koha.pm index ff438c9429..d480bfb6a7 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 = "22.06.00.027"; +$VERSION = "22.06.00.028"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_30077_add_syspref_IntranetAddMastheadLibraryPulldown.pl b/installer/data/mysql/atomicupdate/bug_30077_add_syspref_IntranetAddMastheadLibraryPulldown.pl deleted file mode 100755 index b4d18f9278..0000000000 --- a/installer/data/mysql/atomicupdate/bug_30077_add_syspref_IntranetAddMastheadLibraryPulldown.pl +++ /dev/null @@ -1,14 +0,0 @@ -use Modern::Perl; - -return { - bug_number => "30077", - description => "Add the system preference IntranetAddMastheadLibraryPulldown", - up => sub { - my ($args) = @_; - my ($dbh, $out) = @$args{qw(dbh out)}; - $dbh->do(q{ - INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('IntranetAddMastheadLibraryPulldown','0','','Add a library select pulldown menu on the staff header search','YesNo ') - }); - say $out "Finished adding system preference IntranetAddMastheadLibraryPulldown"; - }, -}; diff --git a/installer/data/mysql/db_revs/220600028.pl b/installer/data/mysql/db_revs/220600028.pl new file mode 100755 index 0000000000..4e717c81bf --- /dev/null +++ b/installer/data/mysql/db_revs/220600028.pl @@ -0,0 +1,14 @@ +use Modern::Perl; + +return { + bug_number => "30077", + description => "Add new system preference IntranetAddMastheadLibraryPulldown", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + $dbh->do(q{ + INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) + VALUES ('IntranetAddMastheadLibraryPulldown','0','','Add a library select pulldown menu on the staff header search','YesNo ') + }); + }, +}; -- 2.39.5