MDL-50641 rss: fix front page rss links
commit5c82c8e43c6bada3390cb27c0d170aa4e25a2988
authorDan Poltawski <dan@moodle.com>
Wed, 26 Aug 2015 07:02:42 +0000 (26 08:02 +0100)
committerDan Poltawski <dan@moodle.com>
Wed, 26 Aug 2015 07:10:17 +0000 (26 08:10 +0100)
tree4dbd29995038f0e3ab6f1175fe22fc94ad6192f7
parentef176837dc591980821a6a21b72f856009e655d3
MDL-50641 rss: fix front page rss links

Fallback to guest user token when no user is specified in rss_get_url
rather than generating a junk token which is no use to anyone, this
matches existing logic which has been in place in forum for a while
and avoids custom handling all over the place.
lib/rsslib.php