From aac6c2687155e61f78f34767c2b2e45160658c90 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 28 Jul 2015 10:32:31 -0300 Subject: [PATCH] Bug 13948: DBRev 3.21.00.016 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha.pm b/Koha.pm index 47f4959ac6..df2140e57e 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 = "3.21.00.015"; +$VERSION = "3.21.00.016"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index c9e07838e6..4e5be13830 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10703,9 +10703,9 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "XXX"; +$DBversion = "3.21.00.016"; if ( CheckVersion($DBversion) ) { - my $rs = Koha::Database->new()->schema()->resultset('Systempreference'); + my $rs = $schema->resultset('Systempreference'); $rs->find_or_create( { variable => 'DumpTemplateVarsIntranet', -- 2.39.5