Transport_type print missing
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 30 Apr 2010 22:19:48 +0000 (00:19 +0200)
committerGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 13:11:56 +0000 (09:11 -0400)
This type is quite important for all the print notices

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>

installer/data/mysql/en/mandatory/message_transport_types.sql
installer/data/mysql/fr-FR/1-Obligatoire/message_transport_types.sql
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index d5ccfe2..9aa760b 100755 (executable)
@@ -3571,6 +3571,16 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
+$DBversion = "3.01.00.131";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+       $dbh->do(q{
+INSERT IGNORE INTO message_transport_types (message_transport_type) VALUES ('print'),('feed');
+    });
+    print "Upgrade to $DBversion done (Adding index to language_descriptions table)\n";
+    SetVersion ($DBversion);
+}
+
+
 =item DropAllForeignKeys($table)
 
   Drop all foreign keys of the table $table
index 509c6e2..381bc45 100644 (file)
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.01.00.130';
+    our $VERSION = '3.01.00.131';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install