Merge branch 'MDL-45934-30' of git://github.com/danpoltawski/moodle into MOODLE_30_STABLE

This commit is contained in:
David Monllao
2015-11-24 16:55:56 +08:00
-1
View File
@@ -4936,7 +4936,6 @@ function remove_course_contents($courseid, $showfeedback = true, array $options
$oldcourse->summary = '';
$oldcourse->cacherev = 0;
$oldcourse->legacyfiles = 0;
$oldcourse->enablecompletion = 0;
if (!empty($options['keep_groups_and_groupings'])) {
$oldcourse->defaultgroupingid = 0;
}