MT 1110, Follow-up : Balance cart and lists : cart is now in the intranet
[koha_fer] / installer / data / mysql / updatedatabase.pl
index 6c552f6..f6c1b42 100755 (executable)
@@ -3064,6 +3064,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
+$DBversion = "3.01.00.116";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    $dbh->do(  qq# INSERT INTO `systempreferences` VALUES ('intranetbookbag','1','','If ON, enables display of Cart feature in the intranet','YesNo')  #);
+
+    print "Upgrade to $DBversion done (intranetbookbag syspref added)\n";
+    SetVersion ($DBversion);
+}
 
 
 =item DropAllForeignKeys($table)