bug 2347 [2/2]: database chagnes (adds to version 098)

I'm removing RSS from the message_transports table now. I forgot that before.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Andrew Moore 2008-07-14 12:20:02 -05:00 committed by Joshua Ferraro
parent f646ee277c
commit 5834de1419

View file

@ -1851,6 +1851,7 @@ $DBversion = '3.00.00.098';
if ( C4::Context->preference('Version') < TransformToNum($DBversion) ) { if ( C4::Context->preference('Version') < TransformToNum($DBversion) ) {
$dbh->do(q(DELETE FROM message_transport_types WHERE message_transport_type = 'rss')); $dbh->do(q(DELETE FROM message_transport_types WHERE message_transport_type = 'rss'));
$dbh->do(q(DELETE FROM message_transports WHERE message_transport_type = 'rss'));
print "Upgrade to $DBversion done (removing unused RSS message_transport_type)\n"; print "Upgrade to $DBversion done (removing unused RSS message_transport_type)\n";
SetVersion($DBversion); SetVersion($DBversion);