diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 83e6c44ff4..4fedcc2197 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -1848,6 +1848,15 @@ if ( C4::Context->preference('Version') < TransformToNum($DBversion) ) { SetVersion($DBversion); } +$DBversion = '3.00.00.098'; +if ( C4::Context->preference('Version') < TransformToNum($DBversion) ) { + + $dbh->do(q(DELETE FROM message_transport_types WHERE message_transport_type = 'rss')); + + print "Upgrade to $DBversion done (removing unused RSS message_transport_type)\n"; + SetVersion($DBversion); +} + =item DropAllForeignKeys($table) Drop all foreign keys of the table $table diff --git a/kohaversion.pl b/kohaversion.pl index 71c822fb81..085795bda5 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = "3.00.00.097"; + our $VERSION = '3.00.00.098'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install