removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb...
[moodle.git] / lib / moodlelib.php
index 487e81f..5a6b476 100644 (file)
@@ -2791,8 +2791,6 @@ function set_login_session_preferences() {
     $SESSION->justloggedin = true;
 
     unset($SESSION->lang);
-    unset($SESSION->encoding);
-    $SESSION->encoding = current_charset();
 
     // Restore the calendar filters, if saved
     if (intval(get_user_preferences('calendar_persistflt', 0))) {