Bug 18790: DBRev 17.12.00.034
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:29:20 +0000 (12:29 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:32:23 +0000 (12:32 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha.pm
installer/data/mysql/atomicupdate/bug_18790.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 6acd0dc..93c07cb 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 = "17.12.00.033";
+$VERSION = "17.12.00.034";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_18790.perl b/installer/data/mysql/atomicupdate/bug_18790.perl
deleted file mode 100644 (file)
index 29bda91..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-$DBversion = 'XXX';  # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-
-    $dbh->do( q{INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')} );
-
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 18790 - Add ability to void payment)\n";
-}
index 1bacdfd..3f43ea1 100755 (executable)
@@ -15872,6 +15872,17 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n";
 }
 
+$DBversion = '17.12.00.034';
+if( CheckVersion( $DBversion ) ) {
+
+    $dbh->do( q{
+        INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')
+    } );
+
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 18790 - Add ability to void payment)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.