diff --git a/login.php b/login.php index 39c08d2e33..c0f1c1f651 100755 --- a/login.php +++ b/login.php @@ -218,7 +218,9 @@ } if(!$GLOBALS['phpgw_info']['server']['disable_autoload_langfiles']) { - $GLOBALS['phpgw']->translation->autoload_changed_langfiles(); + // this need to be fixed + // lkneschke 20.01.2004 + #$GLOBALS['phpgw']->translation->autoload_changed_langfiles(); } $extra_vars['cd'] = 'yes'; diff --git a/phpgwapi/setup/default_records.inc.php b/phpgwapi/setup/default_records.inc.php index adca891990..0c890bc18e 100644 --- a/phpgwapi/setup/default_records.inc.php +++ b/phpgwapi/setup/default_records.inc.php @@ -139,7 +139,7 @@ $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('ts','Tsonga','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('tt','Tatar','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('tw','Twi','No')"); - $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('uk','Ukrainian','No')"); + $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('uk','Ukrainian','Yes')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('ur','Urdu','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('uz','Uzbek','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('vi','Vietnamese','No')"); diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 6eed6ebd10..6b3f56c706 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -15,7 +15,7 @@ /* Basic information about this app */ $setup_info['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['title'] = 'phpgwapi'; - $setup_info['phpgwapi']['version'] = '0.9.99.010'; + $setup_info['phpgwapi']['version'] = '0.9.99.011'; $setup_info['phpgwapi']['versions']['current_header'] = '1.26'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 35e00d99b3..4cd4a29f0e 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -977,4 +977,14 @@ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.010'; return $GLOBALS['setup_info']['phpgwapi']['currentver']; } + + $test[] = '0.9.99.010'; + function phpgwapi_upgrade0_9_99_010() + { + $GLOBALS['phpgw_setup']->oProc->query("UPDATE phpgw_languages SET available='Yes' WHERE lang_id='uk'"); + + $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.011'; + return $GLOBALS['setup_info']['phpgwapi']['currentver']; + } + ?>