mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-36466 cache: disabled caching during installation and upgrade
This commit is contained in:
parent
3680c61a3c
commit
3308259062
3 changed files with 15 additions and 0 deletions
|
@ -169,6 +169,9 @@ require_once($CFG->dirroot.'/cache/lib.php');
|
|||
require($CFG->dirroot.'/version.php');
|
||||
$CFG->target_release = $release;
|
||||
|
||||
// Disable the cache API.
|
||||
cache_factory::disable();
|
||||
|
||||
//Database types
|
||||
$databases = array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'),
|
||||
'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue