Skip to content

Commit

Permalink
MBS-8675: Always show manual completion
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Jan 22, 2024
1 parent c3d3f45 commit 5db582e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions classes/completion/custom_completion.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,13 @@ public function get_sort_order(): array {
'completion_with_all_places',
];
}

/**
* Show the manual completion or not regardless of the course's showcompletionconditions setting.
*
* @return bool
*/
public function manual_completion_always_shown(): bool {
return true;
}
}

0 comments on commit 5db582e

Please sign in to comment.