mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-73487-master' of git://github.com/mihailges/moodle
This commit is contained in:
commit
7c710d6c6e
1 changed files with 4 additions and 2 deletions
|
@ -375,9 +375,11 @@ class secondary extends view {
|
||||||
$thissettings = $this->get_children_key_list();
|
$thissettings = $this->get_children_key_list();
|
||||||
$diff = array_diff($coursesettings, $thissettings);
|
$diff = array_diff($coursesettings, $thissettings);
|
||||||
|
|
||||||
// Remove our specific created elements (user - participants, badges - coursebadges, grades - gradebooksetup).
|
// Remove our specific created elements (user - participants, badges - coursebadges, grades - gradebooksetup,
|
||||||
|
// grades - outcomes).
|
||||||
$shortdiff = array_filter($diff, function($value) {
|
$shortdiff = array_filter($diff, function($value) {
|
||||||
return !($value == 'users' || $value == 'coursebadges' || $value == 'gradebooksetup');
|
return !($value == 'users' || $value == 'coursebadges' || $value == 'gradebooksetup' ||
|
||||||
|
$value == 'outcomes');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Permissions may be in play here that ultimately will show no overflow.
|
// Permissions may be in play here that ultimately will show no overflow.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue