From 92718cce32bc695b670cfe01ae8df25e140c559f Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 28 Apr 2006 02:29:36 +0000 Subject: [PATCH] Make sure we can see all installed languages regardless of langlist --- admin/langimport.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/langimport.php b/admin/langimport.php index 078067dfbd..4ff8892193 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 -- 2.39.5