Skip to content

Commit b75e780

Browse files
committed
MBS-10572: Remove accidentally introduced custom completion rules
1 parent b229455 commit b75e780

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ function aichat_get_coursemodule_info(stdClass $cm): cached_cm_info {
182182
if ($cm->showdescription) {
183183
$result->content = format_module_intro('aichat', $aichat, $cm->id, false);
184184
}
185-
186-
if ($cm->completion == COMPLETION_TRACKING_AUTOMATIC) {
187-
$result->customdata['customcompletionrules']['completioncreate'] = $aichat->completioncreate;
188-
$result->customdata['customcompletionrules']['completioncomplete'] = $aichat->completioncomplete;
189-
}
190185
}
191186
return $result;
192187
}

0 commit comments

Comments
 (0)