From bb80b2d38b9861e7e81b76608cc097654b27fcb4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 28 Jun 2019 16:41:58 +0100 Subject: [PATCH] Bug 17178: DBRev 19.06.00.009 Signed-off-by: Martin Renvoize --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_17178.perl | 10 ---------- installer/data/mysql/updatedatabase.pl | 11 +++++++++++ 3 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_17178.perl diff --git a/Koha.pm b/Koha.pm index 1c5986997f..a8149d71da 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 = "19.06.00.008"; +$VERSION = "19.06.00.009"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_17178.perl b/installer/data/mysql/atomicupdate/bug_17178.perl deleted file mode 100644 index 1f3f0c4e80..0000000000 --- a/installer/data/mysql/atomicupdate/bug_17178.perl +++ /dev/null @@ -1,10 +0,0 @@ -$DBversion = 'XXX'; -if( CheckVersion( $DBversion ) ) { - $dbh->do(q{ - INSERT IGNORE INTO keyboard_shortcuts (shortcut_name, shortcut_keys) - VALUES ("toggle_keyboard", "Shift-Ctrl-K") - }); - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 17178 - add shortcut to keyboard_shortcuts)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3a54ed3448..d2a0fa7123 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -18779,6 +18779,17 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 23109 - Improve description of staffaccess permission)\n"; } +$DBversion = '19.06.00.009'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + INSERT IGNORE INTO keyboard_shortcuts (shortcut_name, shortcut_keys) + VALUES ("toggle_keyboard", "Shift-Ctrl-K") + }); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 17178 - add shortcut to keyboard_shortcuts)\n"; +} + # 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