summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-26 15:25:19 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-26 15:25:19 +0100
commitc005fc67551f7ae34ea083bb1f219e8a7f69cc56 (patch)
tree2bb111762c853fb635846f809e2adb9bd34f46d2 /lib
parentca493ab5b1288d53f203d74117a8e636a606e633 (diff)
downloadnextcloud-server-c005fc67551f7ae34ea083bb1f219e8a7f69cc56.tar.gz
nextcloud-server-c005fc67551f7ae34ea083bb1f219e8a7f69cc56.zip
Cleanup unused code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-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;