mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
Merge branch 'MDL-65845_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
843618cecd
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class cognitive_depth extends activity_base {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Multiple lesson attempts completed counts as submitted after feedback.
|
// Multiple lesson attempts completed counts as submitted after feedback.
|
||||||
return (2 >= count($this->activitylogs[$contextid][$userid]['\mod_lesson\event\lesson_ended']));
|
return (2 >= count($this->activitylogs[$contextid][$userid]['\mod_lesson\event\lesson_ended']->timecreated));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue