From c1f0eee15452a616d6bb89bf155c19bd779b4a3a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 5 Jun 2021 20:42:31 +0200 Subject: [PATCH] Revert "Attempt fixing virtualbox issues, refs #9945" This reverts commit 7a7e0cc03158f29e30ed1249782c53a461afcbac. --- src/Composer/Util/Filesystem.php | 2 -- src/Composer/Util/Platform.php | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index a86eab7de..f1c8d38eb 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -294,8 +294,6 @@ class Filesystem if (Platform::isWindows()) { usleep(350000); $deleted = @rmdir($path); - } elseif (Platform::workaroundFilesystemIssues()) { - $deleted = @rmdir($path); } if (!$deleted) { diff --git a/src/Composer/Util/Platform.php b/src/Composer/Util/Platform.php index fd0183c43..75b0b06eb 100644 --- a/src/Composer/Util/Platform.php +++ b/src/Composer/Util/Platform.php @@ -174,11 +174,7 @@ class Platform { if (self::isVirtualBoxGuest()) { usleep(200000); - - return true; } - - return false; } /**