Skip to content

Commit

Permalink
Merge branch 'w43_MDL-29972_m22_langreset' of git://github.com/skodak…
Browse files Browse the repository at this point in the history
…/moodle
  • Loading branch information
Aparup Banerjee committed Oct 31, 2011
2 parents c2c7d87 + 44ac4f6 commit ae44df3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -6383,6 +6383,7 @@ public function get_list_of_translations($returnall = false) {
if (!empty($CFG->langcache) and !empty($this->menucache)) {
// cache the list so that it can be used next time
collatorlib::asort($languages);
check_dir_exists(dirname($this->menucache), true, true);
file_put_contents($this->menucache, json_encode($languages));
}
}
Expand Down

0 comments on commit ae44df3

Please sign in to comment.