From c877a7ac5840ff26c25818f75eba61bac448a17a Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Sat, 13 Mar 2010 02:34:37 +0200 Subject: [PATCH] Feature #272 - The chosen during the installation platform language should be enabled for sure, automatically. --- main/install/db_main.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/install/db_main.sql b/main/install/db_main.sql index 81bfd0fa44..e5ee44fb6f 100644 --- a/main/install/db_main.sql +++ b/main/install/db_main.sql @@ -421,6 +421,9 @@ INSERT INTO language (original_name, english_name, isocode, dokeos_folder, avail ('Kiswahili','swahili','sw','swahili',0), ('Yorùbá','yoruba','yo','yoruba',0); +-- The chosen during the installation platform language should be enabled. +UPDATE language SET available=1 WHERE dokeos_folder = '{PLATFORMLANGUAGE}'; + UNLOCK TABLES; /*!40000 ALTER TABLE language ENABLE KEYS */;