bfojcapell: Removed unused function

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42145 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 16:56:28 +00:00
parent e7bc735774
commit 8038a60842

View File

@ -994,25 +994,7 @@ class i18n extends Controller {
echo "Done!";
}
function updater() {
DB::query("update Sitetree_lang set lang='es' where lang='Spanish'");
DB::query("update Sitetree_lang set lang='af' where lang='Afrikaans'");
DB::query("update Sitetree_lang set lang='ca' where lang='Catalan'");
DB::query("update Sitetree_lang set lang='nl' where lang='Dutch'");
DB::query("update Sitetree_lang_versions set lang='es' where lang='Spanish'");
DB::query("update Sitetree_lang_versions set lang='af' where lang='Afrikaans'");
DB::query("update Sitetree_lang_versions set lang='ca' where lang='Catalan'");
DB::query("update Sitetree_lang_versions set lang='nl' where lang='Dutch'");
DB::query("update Sitetree_lang_live set lang='es' where lang='Spanish'");
DB::query("update Sitetree_lang_live set lang='af' where lang='Afrikaans'");
DB::query("update Sitetree_lang_live set lang='ca' where lang='Catalan'");
DB::query("update Sitetree_lang_live set lang='nl' where lang='Dutch'");
DB::query("update i18nEntity_lang set lang='de_DE' where lang='German'");
DB::query("update i18nEntity_lang set lang='ca_AD' where lang='Catalan'");
DB::query("update i18nEntity_lang_versions set lang='de_DE' where lang='German'");
DB::query("update i18nEntity_lang_versions set lang='ca_AD' where lang='Catalan'");
}