From d7dd3f416e6eee405f424459d5c72b9859eba540 Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Thu, 10 Jul 2008 11:34:38 -0500 Subject: [PATCH] bug 2329: removing unused RSS transport type - DB version 098. I didn't implement a way for patrons to get their advance notices and other messages through RSS, so I'm removing it from the list of available transport types. This will cause the "RSS" column in the patron messasging pages to be unavailable. When we implement RSS, we can add it back in and the checkboxes will return. Signed-off-by: Joshua Ferraro --- installer/data/mysql/updatedatabase.pl | 9 +++++++++ kohaversion.pl | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- 2.39.5