mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-47735 core: prevented iteration of 'groupmembersonly'
The course module variable 'groupmembersonly' was removed in 2.8.
This commit is contained in:
parent
b49de5d930
commit
c62ba9b8ca
@ -1188,6 +1188,7 @@ class cm_info implements IteratorAggregate {
|
||||
unset($props['showavailability']);
|
||||
unset($props['availablefrom']);
|
||||
unset($props['availableuntil']);
|
||||
unset($props['groupmembersonly']);
|
||||
|
||||
foreach ($props as $key => $unused) {
|
||||
$ret[$key] = $this->__get($key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user