mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
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:
parent
af3e0ed2ea
commit
a015506a14
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user