Merge branch 'MDL-45934-master' of git://github.com/danpoltawski/moodle

This commit is contained in:
David Monllao
2015-11-24 16:53:18 +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;
}