Bug 17179: DBRev 19.06.00.039

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-10-09 14:37:39 +01:00
parent 8564cbcd9a
commit a013f2bbdd
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
3 changed files with 15 additions and 14 deletions

View File

@ -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.038";
$VERSION = "19.06.00.039";
sub version {
return $VERSION;

View File

@ -1,13 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
INSERT IGNORE INTO keyboard_shortcuts (shortcut_name, shortcut_keys) VALUES
("copy_line","Ctrl-C"),
("copy_subfield","Shift-Ctrl-C"),
("paste_line","Ctrl-P"),
("insert_line","Ctrl-I")
;
|);
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 17179 - Add additional keyboard_shortcuts)\n";
}

View File

@ -19649,6 +19649,20 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 23697 - Rename CircAutocompl system preference to PatronAutoComplete)\n";
}
$DBversion = '19.06.00.039';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
INSERT IGNORE INTO keyboard_shortcuts (shortcut_name, shortcut_keys) VALUES
("copy_line","Ctrl-C"),
("copy_subfield","Shift-Ctrl-C"),
("paste_line","Ctrl-P"),
("insert_line","Ctrl-I")
;
|);
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 17179 - Add additional 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/';