From 42bf3faca4f606eede72f7415db7dab938ba3d5d Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Fri, 22 Mar 2013 22:57:53 -0400 Subject: [PATCH] Bug 7740: Increment version number Database update for bug 7740 has been given version 3.11.00.115 --- installer/data/mysql/updatedatabase.pl | 4 ++-- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 1ffcb81bf7..1aaab3ae88 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6976,8 +6976,8 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.11.00.XXX"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { +$DBversion = "3.11.00.115"; +if ( CheckVersion($DBversion) ) { $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo')"); $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch''s items to emphasize. If PatronBranch, emphasize the logged in user''s library''s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha''s Apache configuration file.','Choice')"); print "Upgrade to $DBversion done (Bug 7740: Add syspref HighlightOwnItemsOnOPAC)\n"; diff --git a/kohaversion.pl b/kohaversion.pl index ea0cc7fd0f..40292c1e1d 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.11.00.114'; + our $VERSION = '3.11.00.115'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5