mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 04:51:46 -04:00
remove needless check
This commit is contained in:
parent
0bc28dcb95
commit
d59291a8e7
1 changed files with 0 additions and 4 deletions
|
|
@ -264,10 +264,6 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
|||
public function unlink($path) {
|
||||
$path = $this->normalizePath($path);
|
||||
|
||||
if ( ! $this->file_exists($path)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
$result = $this->connection->deleteObject(array(
|
||||
'Bucket' => $this->bucket,
|
||||
|
|
|
|||
Loading…
Reference in a new issue