diff --git a/admin/langimport.php b/admin/langimport.php index 078067dfbde..4ff88921939 100755 --- a/admin/langimport.php +++ b/admin/langimport.php @@ -134,6 +134,7 @@ $source = 'http://download.moodle.org/lang16/languages.md5'; $md5array = array(); $updated = 0; //any packs updated? + unset($CFG->langlist); // ignore admin's langlist $alllangs = array_keys(get_list_of_languages()); $lang16 = array(); //all the Moodle 1.6 unicode lang packs (updated and not updated) $packs = array(); //all the packs that needs updating @@ -265,6 +266,7 @@ echo ''; echo '
'; echo ''; + unset($CFG->langlist); // ignore admin's langlist $installedlangs = get_list_of_languages(); /// display installed langs here