]> git.mjollnir.org Git - moodle.git/commitdiff
hack for problems with concurrent use of $nomoodlecookie and capabilities in RSS...
authorskodak <skodak>
Wed, 1 Nov 2006 21:03:09 +0000 (21:03 +0000)
committerskodak <skodak>
Wed, 1 Nov 2006 21:03:09 +0000 (21:03 +0000)
rss/file.php

index 15bae41e62dcfb7faae2659c3b57b7c8242c8e29..a110e87bf2dbabb26eddca9c0ca71d1b083efb76 100644 (file)
 
     $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();