Merge branch 'MDL-82158-main' of https://github.com/andrewnicols/moodle
This commit is contained in:
+1
-2
@@ -313,7 +313,7 @@ if (!defined('CACHE_DISABLE_ALL')) {
|
||||
}
|
||||
|
||||
// When set to true MUC (Moodle caching) will not use any of the defined or default stores.
|
||||
// The Cache API will continue to function however this will force the use of the cachestore_dummy so all requests
|
||||
// The Cache API will continue to function however this will force the use of the dummy_cachestore so all requests
|
||||
// will be interacting with a static property and will never go to the proper cache stores.
|
||||
// Useful if you need to avoid the stores for one reason or another.
|
||||
if (!defined('CACHE_DISABLE_STORES')) {
|
||||
@@ -638,7 +638,6 @@ require_once($CFG->libdir .'/sessionlib.php'); // All session and cookie re
|
||||
require_once($CFG->libdir .'/editorlib.php'); // All text editor related functions and classes.
|
||||
require_once($CFG->libdir .'/messagelib.php'); // Messagelib functions.
|
||||
require_once($CFG->libdir .'/modinfolib.php'); // Cached information on course-module instances.
|
||||
require_once($CFG->dirroot.'/cache/lib.php'); // Cache API.
|
||||
|
||||
// Increase memory limits if possible.
|
||||
raise_memory_limit(MEMORY_STANDARD);
|
||||
|
||||
Reference in New Issue
Block a user