mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-29538 core_condition: initial commit to add support for making things conditional on user profile fields
This commit is contained in:
parent
6be7840ce6
commit
76af15bb4c
11 changed files with 399 additions and 10 deletions
|
@ -1111,6 +1111,7 @@ function get_array_of_activities($courseid) {
|
|||
condition_info::fill_availability_conditions($rawmods[$seq]);
|
||||
$mod[$seq]->conditionscompletion = $rawmods[$seq]->conditionscompletion;
|
||||
$mod[$seq]->conditionsgrade = $rawmods[$seq]->conditionsgrade;
|
||||
$mod[$seq]->conditionsfield = $rawmods[$seq]->conditionsfield;
|
||||
}
|
||||
|
||||
$modname = $mod[$seq]->mod;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue