bumped version to 0.9.11 to enable language uk

temporarly disabled auto load of languages
This commit is contained in:
Lars Kneschke 2004-01-20 06:00:51 +00:00
parent 0364332b5c
commit d4555f763c
4 changed files with 15 additions and 3 deletions

View File

@ -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';

View File

@ -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')");

View File

@ -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;

View File

@ -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'];
}
?>