mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
fixing a missing {
This commit is contained in:
parent
15f81ee31d
commit
a0f2dae882
@ -385,7 +385,7 @@ function forum_cron() {
|
||||
if (!empty($group->id)) {
|
||||
if (!ismember($group->id, $userto->id)) {
|
||||
// no need because $USER = $userto?
|
||||
if (!has_capability('moodle/site:accessallgroups', $modcontext));
|
||||
if (!has_capability('moodle/site:accessallgroups', $modcontext)) {
|
||||
//if (!has_capability('moodle/site:accessallgroups', $modcontext, false, $userto->id)) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user