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

This commit is contained in:
skodak 2006-11-01 21:03:09 +00:00
parent af3e0ed2ea
commit a015506a14

View File

@ -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();