From: Andrew Davis Date: Tue, 20 Jul 2010 04:02:31 +0000 (+0000) Subject: glossary MDL-23391 glossary rss feed generation tweak X-Git-Tag: v2.0.0-rc1~1849 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=7138d3b30fab2c4e08ad7e646dd806a09fbe9a53 glossary MDL-23391 glossary rss feed generation tweak --- diff --git a/mod/glossary/rsslib.php b/mod/glossary/rsslib.php index 48a44afc98b..522b227a6f3 100644 --- a/mod/glossary/rsslib.php +++ b/mod/glossary/rsslib.php @@ -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; }