Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Oct 9, 2024
1 parent 1d5cd81 commit ea8f04d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/transformer/utils/get_activity/course_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ function course_module(array $config, \stdClass $course, int $cmid) {
$courselang = utils\get_course_lang($course);
$instancename = property_exists($instance, 'name') ? $instance->name : $module->name;

if ($xapitype === null) {
$activitytype = utils\get_module_activity_type($module->name);
} else {
$activitytype = $xapitype;
}
$activitytype = utils\get_module_activity_type($module->name);

// TODO: Some objects (like mod_choice CMI interactions) will need more
// dispatch and add those here
Expand Down

0 comments on commit ea8f04d

Please sign in to comment.