We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae40545 commit f130533Copy full SHA for f130533
src/File.php
@@ -159,10 +159,6 @@ public static function delete($file)
159
$file = Path::clean($file);
160
$filename = basename($file);
161
162
- if (!Path::canChmod($file)) {
163
- throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $filename);
164
- }
165
-
166
// Try making the file writable first. If it's read-only, it can't be deleted
167
// on Windows, even if the parent folder is writable
168
@chmod($file, 0777);
0 commit comments