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 <jmf@liblime.com>
This commit is contained in:
Andrew Moore 2008-07-10 11:34:38 -05:00 committed by Joshua Ferraro
parent d38c4b7f6e
commit d7dd3f416e
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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