Bug 24913: DBRev 19.12.00.078
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 21 Apr 2020 11:33:47 +0000 (12:33 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 21 Apr 2020 11:34:04 +0000 (12:34 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha.pm
installer/data/mysql/atomicupdate/bug_24913-add_PatronSelfRegistrationConfirmEmail_syspref.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 9a9f0e1..f4c07b9 100644 (file)
--- a/Koha.pm
+++ b/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;
diff --git a/installer/data/mysql/atomicupdate/bug_24913-add_PatronSelfRegistrationConfirmEmail_syspref.perl b/installer/data/mysql/atomicupdate/bug_24913-add_PatronSelfRegistrationConfirmEmail_syspref.perl
deleted file mode 100644 (file)
index 73ca835..0000000
+++ /dev/null
@@ -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");
-}
index 6c63f19..7ac1149 100755 (executable)
@@ -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/';