Browse Source

Updating patronimages syspref to reflect current sysprefs.sql

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Chris Nighswonger 15 years ago
committed by Joshua Ferraro
parent
commit
b28d306a94
  1. 7
      installer/data/mysql/updatedatabase.pl
  2. 2
      kohaversion.pl

7
installer/data/mysql/updatedatabase.pl

@ -1223,6 +1223,13 @@ DEFAULT CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP;
SetVersion ($DBversion);
}
$DBversion = "3.00.00.067";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("UPDATE systempreferences SET explanation = 'Enable patron images for the Staff Client', type = 'YesNo' WHERE variable = 'patronimages'");
print "Upgrade to $DBversion done (Updating patronimages syspref to reflect current kohastructure.sql. ) ";
SetVersion ($DBversion);
}
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table

2
kohaversion.pl

@ -10,7 +10,7 @@
use strict;
sub kohaversion {
our $VERSION = "3.00.00.066";
our $VERSION = "3.00.00.067";
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install

Loading…
Cancel
Save