mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
MDL-70781 course: setting for displaying completion conditions
Part of MDL-70817
This commit is contained in:
parent
c0d0679c8a
commit
a4f7c1d91f
7 changed files with 44 additions and 1 deletions
|
@ -141,6 +141,15 @@ define('COMPLETION_AGGREGATION_ALL', 1);
|
|||
*/
|
||||
define('COMPLETION_AGGREGATION_ANY', 2);
|
||||
|
||||
/**
|
||||
* Completion conditions will be displayed to user.
|
||||
*/
|
||||
define('COMPLETION_SHOW_CONDITIONS', 1);
|
||||
|
||||
/**
|
||||
* Completion conditions will be hidden from user.
|
||||
*/
|
||||
define('COMPLETION_HIDE_CONDITIONS', 0);
|
||||
|
||||
/**
|
||||
* Utility function for checking if the logged in user can view
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue