mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
rss MDL-24508 fixed guest access to rss feeds
This commit is contained in:
parent
831399c404
commit
c637291997
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
return null;
|
||||
}
|
||||
|
||||
if (!is_enrolled($context, null, 'mod/data:managetemplates')) {
|
||||
if (!is_enrolled($context, null, 'mod/data:managetemplates') && !isguestuser()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue