1
0
Fork 0

delete 'return' in Filesystem.php

pull/8641/head
arai 2020-02-23 21:38:14 +09:00
parent f154d5c09d
commit e61b559eb2
1 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ class Filesystem
usleep(350000);
$unlinked = @$this->unlinkImplementation($path);
}
if (!$unlinked) {
$error = error_get_last();
$message = 'Could not delete '.$path.': ' . @$error['message'];
@ -237,7 +237,7 @@ class Filesystem
usleep(350000);
$deleted = @rmdir($path);
}
if (!$deleted) {
$error = error_get_last();
$message = 'Could not delete '.$path.': ' . @$error['message'];
@ -340,7 +340,7 @@ class Filesystem
}
}
return $this->copyThenRemove($source, $target);
$this->copyThenRemove($source, $target);
}
/**