Commit ee17956d authored by alexpott's avatar alexpott

Issue #2745123 by drugan, Mile23, mpdonadio, alexpott, slasher13, Jo...

Issue #2745123 by drugan, Mile23, mpdonadio, alexpott, slasher13, Jo Fitzgerald, drunken monkey, nikolas.costa, Yogesh Pawar, blazey, benjifisher, dawehner, mondrake, penyaskito, fietserwin, othermachines: Simpletest module crashes on cleanup, uninstall
parent 5cd9a2bf
......@@ -692,7 +692,9 @@ function simpletest_clean_temporary_directories() {
foreach ($files as $file) {
if ($file[0] != '.') {
$path = DRUPAL_ROOT . '/sites/simpletest/' . $file;
file_unmanaged_delete_recursive($path, ['Drupal\simpletest\TestBase', 'filePreDeleteCallback']);
file_unmanaged_delete_recursive($path, function ($any_path) {
@chmod($any_path, 0700);
});
$count++;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment