MDL-26312 Workshop: data integrity check to detect eventual course_modules corruption

Because of a bug in Workshop upgrade code, multiple workshop course_modules can
potentially point to a single workshop instance. The chance is pretty low as in most cases,
the upgrade failed. But under certain circumstances, workshop could be upgraded with
this data integrity issue. We want to detect it now and let the admin know.
This commit is contained in:
David Mudrak
2011-02-14 10:11:42 +01:00
parent d0fb170520
commit f593111b67
2 changed files with 44 additions and 2 deletions
+2 -2
View File
@@ -29,6 +29,6 @@
defined('MOODLE_INTERNAL') || die();
$module->version = 2010111200;
$module->requires = 2010111002; // Requires this Moodle version
$module->version = 2011021100;
$module->requires = 2011020900; // Requires this Moodle version
//$module->cron = 60;