Bug 19043: DBRev 17.06.00.012
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 17:29:41 +0000 (14:29 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:15:48 +0000 (16:15 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha.pm
installer/data/mysql/atomicupdate/bug19043.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 272e194..6cb1d53 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.06.00.011";
+$VERSION = "17.06.00.012";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug19043.perl b/installer/data/mysql/atomicupdate/bug19043.perl
deleted file mode 100644 (file)
index 807e2bf..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-$DBversion = 'XXX';  # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-    my $where = q|host='clio-db.cc.columbia.edu' AND port=7090|;
-    my $sql = "SELECT COUNT(*) FROM z3950servers WHERE $where";
-    my ( $cnt ) = $dbh->selectrow_array( $sql );
-    if( $cnt ) {
-        $dbh->do( "DELETE FROM z3950servers WHERE $where" );
-        print "Removed $cnt Z39.50 target(s) for Columbia University\n";
-    }
-
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 19043 - Z39.50 target for Columbia University is no longer publicly available.)\n";
-}
index 17eb074..536f40e 100755 (executable)
@@ -14708,6 +14708,20 @@ if ( CheckVersion($DBversion) ) {
     print "Upgrade to $DBversion done (Bug 13766 - Make ean mediumtext and add ean indexes)\n";
 }
 
+$DBversion = '17.06.00.012';
+if( CheckVersion( $DBversion ) ) {
+    my $where = q|host='clio-db.cc.columbia.edu' AND port=7090|;
+    my $sql = "SELECT COUNT(*) FROM z3950servers WHERE $where";
+    my ( $cnt ) = $dbh->selectrow_array( $sql );
+    if( $cnt ) {
+        $dbh->do( "DELETE FROM z3950servers WHERE $where" );
+        print "Removed $cnt Z39.50 target(s) for Columbia University\n";
+    }
+
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 19043 - Z39.50 target for Columbia University is no longer publicly available.)\n";
+}
+
 # DEVELOPER PROCESS, search for anything to execute in the db_update directory
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.