adding hack note

This commit is contained in:
Petr Skoda
2010-07-15 14:53:51 +00:00
parent 2fd52edc7a
commit acde4348a1
+1
View File
@@ -66,6 +66,7 @@ function xmldb_lesson_upgrade($oldversion) {
}
if ($oldversion < 2008112601) {
//NOTE: this is a hack, we can not call module lib.php in the middle of upgrade, the necessary db structures/data may not exist yet!
require_once($CFG->dirroot.'/mod/lesson/lib.php');
lesson_upgrade_grades();