Bumping the DBrev to .014 (fixed earlier DBrev too)
authorBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 31 Dec 2015 20:36:30 +0000 (20:36 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 31 Dec 2015 20:36:30 +0000 (20:36 +0000)
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
Koha.pm
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 9293b92..6cfec00 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.23.00.013";
+$VERSION = "3.23.00.014";
 
 sub version {
     return $VERSION;
index 67a038a..f025934 100755 (executable)
@@ -11642,6 +11642,21 @@ if ( CheckVersion($DBversion) ) {
   CONSTRAINT `items_last_borrower_ibfk_1` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE CASCADE ON UPDATE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
     });
+
+    print "Upgrade to $DBversion done (Bug 14945 - Add the ability to store the last patron to return an item)\n";
+    SetVersion($DBversion);
+
+}
+
+$DBversion = "3.23.00.014";
+if ( CheckVersion($DBversion) ) {
+    $dbh->do(q{
+       INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
+VALUES ('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo')
+    });
+
+    print "Upgrade to $DBversion done (Bug 10076 - Add Bcc syspref for claimacquisition and clamissues)\n";
+    SetVersion($DBversion);
 }
 
 # DEVELOPER PROCESS, search for anything to execute in the db_update directory