removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb...
[moodle.git] / lib / setup.php
index c433db3..16860a3 100644 (file)
@@ -457,7 +457,6 @@ global $HTTPSPAGEREQUIRED;
         if (!detect_munged_arguments($lang, 0) and (file_exists($CFG->dataroot .'/lang/'. $lang) or 
                                                     file_exists($CFG->dirroot .'/lang/'. $lang))) {
             $SESSION->lang = $lang;
-            $SESSION->encoding = get_string('thischarset');
         }
     }
     if (empty($CFG->lang)) {