Browse Source

Bug 24913: DBRev 19.12.00.078

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Martin Renvoize 4 years ago
parent
commit
c42674cfd9
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 2
      Koha.pm
  2. 6
      installer/data/mysql/atomicupdate/bug_24913-add_PatronSelfRegistrationConfirmEmail_syspref.perl
  3. 7
      installer/data/mysql/updatedatabase.pl

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 = "19.12.00.077";
$VERSION = "19.12.00.078";
sub version {
return $VERSION;

6
installer/data/mysql/atomicupdate/bug_24913-add_PatronSelfRegistrationConfirmEmail_syspref.perl

@ -1,6 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('PatronSelfRegistrationConfirmEmail', '0', NULL, 'Require users to confirm their email address by entering it twice.', 'YesNo') });
NewVersion( $DBversion, 24913, "Add PatronSelfRegistrationConfirmEmail syspref");
}

7
installer/data/mysql/updatedatabase.pl

@ -21830,6 +21830,13 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 23727, "Editing course reserve items is broken");
}
$DBversion = '19.12.00.078';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('PatronSelfRegistrationConfirmEmail', '0', NULL, 'Require users to confirm their email address by entering it twice.', 'YesNo') });
NewVersion( $DBversion, 24913, "Add PatronSelfRegistrationConfirmEmail syspref");
}
# 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…
Cancel
Save