MDL-82983 course: prevent subsection default completion

This commit is contained in:
ferranrecio
2024-09-05 12:58:19 +02:00
parent 13c12756b4
commit c261fca22a
3 changed files with 41 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ function subsection_supports($feature) {
FEATURE_BACKUP_MOODLE2 => true,
FEATURE_SHOW_DESCRIPTION => false,
FEATURE_MOD_PURPOSE => MOD_PURPOSE_CONTENT,
FEATURE_MODEDIT_DEFAULT_COMPLETION => false,
default => null,
};
}