- Patch #381306 by plach: closing file handler to avoid problems on certain systems.
parent
4ac090eb54
commit
e7c7ee32a2
|
@ -834,6 +834,7 @@ function file_unmanaged_delete_recursive($path) {
|
|||
$entry_path = $path . '/' . $entry;
|
||||
file_unmanaged_delete_recursive($entry_path);
|
||||
}
|
||||
$dir->close();
|
||||
return rmdir($path);
|
||||
}
|
||||
return file_unmanaged_delete($path);
|
||||
|
|
Loading…
Reference in New Issue