mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Merge branch 'MDL-73811' of https://github.com/paulholden/moodle
This commit is contained in:
commit
9dd8909360
@ -214,9 +214,11 @@ class audience {
|
||||
$notavailablestr = get_string('notavailable', 'moodle');
|
||||
|
||||
$audiencetypes = self::get_audience_types();
|
||||
$audiencetypeindex = 0;
|
||||
foreach ($audiencetypes as $categoryname => $audience) {
|
||||
$menucards = [
|
||||
'name' => $categoryname,
|
||||
'key' => 'index' . ++$audiencetypeindex,
|
||||
];
|
||||
|
||||
foreach ($audience as $classname => $name) {
|
||||
|
@ -22,6 +22,7 @@
|
||||
Example context (json):
|
||||
{
|
||||
"name": "General",
|
||||
"key": "general",
|
||||
"items": [{
|
||||
"name": "Manually added users",
|
||||
"identifier": "core_reportbuilder:users"
|
||||
|
Loading…
x
Reference in New Issue
Block a user