$tabsysprefs{'OAI-PMH:ConfFile'} = "Admin";
$tabsysprefs{OpacAddMastheadLibraryPulldown} = "Admin";
$tabsysprefs{opaclargeimage} = "Admin";
-$tabsysprefs{OpacPrivacy} = "Admin";
$tabsysprefs{OPACXSLTDetailsDisplay} = "Admin";
$tabsysprefs{OPACXSLTResultsDisplay} = "Admin";
$tabsysprefs{PDFFontType} = "Admin";
# Database Updater
# This script checks for required updates to the database.
-# Part of the Koha Library Software www.koha.org
+# Part of the Koha Library Software www.koha-community.org
# Licensed under the GPL.
# Bugs/ToDo:
SetVersion ($DBversion);
}
+$DBversion = "3.02.00.002";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+ $dbh->do(q{DELETE FROM systempreferences WHERE variable = 'OpacPrivacy'});
+ print "Upgrade to $DBversion done (bug 3881: remove unused OpacPrivacy system preference)\n";
+ SetVersion ($DBversion);
+}
+
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table
use strict;
sub kohaversion {
- our $VERSION = '3.02.00.001';
+ our $VERSION = '3.02.00.002';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install