Bug 21121: DBRev 18.06.00.014

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2018-08-14 12:33:52 +00:00
parent 12dd41ed66
commit ed6070a5b4
3 changed files with 10 additions and 2 deletions

View file

@ -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 = "18.06.00.013";
$VERSION = "18.06.00.014";
sub version {
return $VERSION;

View file

@ -1 +0,0 @@
INSERT IGNORE INTO systempreferences (variable, value, options, explanation) VALUES ('HidePersonalPatronDetailOnCirculation', 0, 'YesNo', 'Hide patrons phone number, email address, street address and city in the circulation page');

View file

@ -16237,6 +16237,15 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 20997 - Add Koha::Account::Line::apply)\n";
}
$DBversion = '18.06.00.014';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation) VALUES ('HidePersonalPatronDetailOnCirculation', 0, 'YesNo', 'Hide patrons phone number, email address, street address and city in the circulation page');
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 21121 - New syspref to allow hiding of private patron data in circulation page)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.