Bug 13948: DBRev 3.21.00.016
authorTomas Cohen Arazi <tomascohen@unc.edu.ar>
Tue, 28 Jul 2015 13:32:31 +0000 (10:32 -0300)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Tue, 28 Jul 2015 13:32:31 +0000 (10:32 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Koha.pm
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 47f4959..df2140e 100644 (file)
--- 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;
index c9e0783..4e5be13 100755 (executable)
@@ -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',