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.
---
installer/data/mysql/updatedatabase.pl | 9 +++++++++
kohaversion.pl | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index 83e6c44..4fedcc2 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 71c822f..085795b 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
--
1.5.6
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches