Commit e7c7ee32 authored by Dries's avatar Dries
Browse files

- Patch #381306 by plach: closing file handler to avoid problems on certain systems.

parent 4ac090eb
......@@ -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);
......
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