merged, setting $CFG->unicodedb after converting db to unicode. Chaning the order of if clause to same some sqls
merged, setting $CFG->unicodedb after converting db to unicode. Chaning the order of if clause to same some sqls

dilawar/moodle