Bug 20057: DBRev 20.06.00.030
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
5cb1d95b02
commit
e7910c6740
2
Koha.pm
2
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 = "20.06.00.029";
|
||||
$VERSION = "20.06.00.030";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type`) VALUES
|
||||
('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve patron profile changes from the OPAC.', 'YesNo');
|
||||
|
|
@ -22678,6 +22678,17 @@ INSERT IGNORE INTO `letter` VALUES ('reserves','HOLD_CANCELLATION','','Hold Canc
|
|||
NewVersion( $DBversion, 25534, "Add ability to send an email specifying a reason when canceling a hold");
|
||||
}
|
||||
|
||||
$DBversion = '20.06.00.030';
|
||||
if ( CheckVersion( $DBversion ) ) {
|
||||
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type`) VALUES
|
||||
('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve patron profile changes from the OPAC.', 'YesNo');
|
||||
});
|
||||
|
||||
NewVersion( $DBversion, 20057, "Add new system preference 'AutoApprovePatronProfileSettings'");
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue