mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-39343 disables MUC caches in phpunit and behat install/drop
This commit is contained in:
parent
e2e35e71f9
commit
2cc9fa88f6
2 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,9 @@ list($options, $unrecognized) = cli_get_params(
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($options['install'] or $options['drop']) {
|
||||||
|
define('CACHE_DISABLE_ALL', true);
|
||||||
|
}
|
||||||
|
|
||||||
// Checking util.php CLI script usage.
|
// Checking util.php CLI script usage.
|
||||||
$help = "
|
$help = "
|
||||||
|
|
|
@ -60,6 +60,10 @@ if (file_exists(__DIR__.'/../../../../vendor/phpunit/phpunit/PHPUnit/Autoload.ph
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($options['install'] or $options['drop']) {
|
||||||
|
define('CACHE_DISABLE_ALL', true);
|
||||||
|
}
|
||||||
|
|
||||||
if ($options['run']) {
|
if ($options['run']) {
|
||||||
unset($options);
|
unset($options);
|
||||||
unset($unrecognized);
|
unset($unrecognized);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue