Commit 076623ba authored by Arto's avatar Arto

Don't attempt to remove directories that still contain symlinks (fixes #101073).

parent 8f3b356d
......@@ -44,6 +44,9 @@ function _boost_rmdir_rf($dirname, $callback = NULL) {
}
@unlink($file);
}
else {
$empty = FALSE; // it's probably a symbolic link
}
}
// The reason for this elaborate safeguard is that Drupal will log even
......
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