mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
e7bc735774
commit
8038a60842
@ -994,25 +994,7 @@ class i18n extends Controller {
|
|||||||
|
|
||||||
echo "Done!";
|
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'");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user