From a015506a14e814ef2612b851da73c82fa2d7320f Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 1 Nov 2006 21:03:09 +0000 Subject: [PATCH] hack for problems with concurrent use of $nomoodlecookie and capabilities in RSS feeds, see MDL-7243 - it should be replaced once we get to codes in urls; merged from MOODLE_17_STABLE --- rss/file.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rss/file.php b/rss/file.php index 15bae41e62..a110e87bf2 100644 --- a/rss/file.php +++ b/rss/file.php @@ -21,6 +21,11 @@ $lifetime = 3600; // Seconds for files to remain in caches - 1 hour + // hack for problems with concurrent use of $nomoodlecookie and capabilities MDL-7243 + // it should be replaced once we get to codes in urls + $USER = new object(); + $USER->id = 0; + // disable moodle specific debug messages disable_debugging(); -- 2.39.5