From 186e21dc744cbf37c1a0266d8bd0371c6ebb4c29 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 13 Mar 2023 15:40:32 -0300 Subject: [PATCH] Bug 30624: DBRev 22.12.00.012 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../bug_30624_add_userflag.pl => db_revs/221200012.pl} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename installer/data/mysql/{atomicupdate/bug_30624_add_userflag.pl => db_revs/221200012.pl} (91%) diff --git a/Koha.pm b/Koha.pm index af0100cfee..5c033743e1 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.12.00.011"; +$VERSION = "22.12.00.012"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_30624_add_userflag.pl b/installer/data/mysql/db_revs/221200012.pl similarity index 91% rename from installer/data/mysql/atomicupdate/bug_30624_add_userflag.pl rename to installer/data/mysql/db_revs/221200012.pl index db13f6c7c8..26c3e21b55 100755 --- a/installer/data/mysql/atomicupdate/bug_30624_add_userflag.pl +++ b/installer/data/mysql/db_revs/221200012.pl @@ -9,6 +9,7 @@ return { $dbh->do(q{ INSERT IGNORE INTO userflags (bit, flag, flagdesc, defaulton) VALUES (29, 'loggedinlibrary', 'Allow staff to change logged in library', 0) }); + say $out "Added new permission 'loggedinlibrary'"; my $IndependentBranches = C4::Context->preference('IndependentBranches'); unless ( $IndependentBranches ) { -- 2.20.1