mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
glossary MDL-23391 glossary rss feed generation tweak
This commit is contained in:
parent
57e8a9361f
commit
7138d3b30f
@ -11,6 +11,8 @@
|
||||
return null;
|
||||
}
|
||||
|
||||
$status = true;
|
||||
|
||||
//check capabilities
|
||||
//glossary module doesn't require any capabilities to view glossary entries (aside from being logged in)
|
||||
|
||||
@ -81,6 +83,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (!$status) {
|
||||
$cachedfilepath = null;
|
||||
}
|
||||
|
||||
return $cachedfilepath;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user