MDL-39701 prevent filters before finishing 2.5 upgrade

This prevents problems with unsigned integers in MySQL 5.5
This commit is contained in:
Petr Škoda
2013-06-22 22:22:47 +02:00
parent 0ea1fbbb55
commit c3bc6f1217
+1 -1
View File
@@ -1091,7 +1091,7 @@ function format_text($text, $format = FORMAT_MOODLE, $options = NULL, $courseid_
}
// Calculate best context
if (empty($CFG->version) or $CFG->version < 2010072800 or during_initial_install()) {
if (empty($CFG->version) or $CFG->version < 2013051400 or during_initial_install()) {
// do not filter anything during installation or before upgrade completes
$context = null;