Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTP-4088 Marker view #12

Merged
merged 27 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion block_my_feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public function is_course_current(stdClass $course): bool {
if ($course->enddate == 0) {
return true; // Enddate is set to 0 when no end date, show course.
}
if (time() > $course->enddate) {
$future = strtotime('+3 month'); // Allow for Late summer assessments.
if ($future > $course->enddate) {
stuartlamour marked this conversation as resolved.
Show resolved Hide resolved
stuartlamour marked this conversation as resolved.
Show resolved Hide resolved
return false; // After the end date.
}
}
Expand Down
Loading