summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-26 15:47:06 +0100
committerGitHub <noreply@github.com>2018-01-26 15:47:06 +0100
commit97c216ea0627d72059ef7c5d714968fb11c21f78 (patch)
treed3e89ae63be15c3438605905c78799545a519c19 /lib/private/Files
parentc67736a54246dddfdbe41883527bc0d6d54067c6 (diff)
parentc005fc67551f7ae34ea083bb1f219e8a7f69cc56 (diff)
downloadnextcloud-server-97c216ea0627d72059ef7c5d714968fb11c21f78.tar.gz
nextcloud-server-97c216ea0627d72059ef7c5d714968fb11c21f78.zip
Merge pull request #8071 from nextcloud/remove-silly-code
Cleanup unused code
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/ObjectStore/ObjectStoreStorage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
index acb8d670780..094a2915730 100644
--- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
@@ -194,9 +194,8 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
'message' => 'Could not delete object ' . $this->getURN($stat['fileid']) . ' for ' . $path,
]);
return false;
- } else {
- //removing from cache is ok as it does not exist in the objectstore anyway
}
+ //removing from cache is ok as it does not exist in the objectstore anyway
}
$this->getCache()->remove($path);
return true;