summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-06-03 13:34:54 +0200
committerRobin Appelman <icewind@owncloud.com>2016-06-03 13:34:54 +0200
commit14f96f86e7da12abd754d50abdac236f9b879e62 (patch)
tree20bfaea2c3b425e175c58cb4aac4f659eb5efc75 /lib
parent63408fa6ef70fb26ef57d93c24a36e325e788b2b (diff)
downloadnextcloud-server-14f96f86e7da12abd754d50abdac236f9b879e62.tar.gz
nextcloud-server-14f96f86e7da12abd754d50abdac236f9b879e62.zip
return success when deleting ghost files
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/View.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 8a99bc609cf..e9daa123470 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -691,8 +691,10 @@ class View {
$storage = $mount->getStorage();
$internalPath = $mount->getInternalPath($absolutePath);
$storage->getUpdater()->remove($internalPath);
+ return true;
+ } else {
+ return $result;
}
- return $result;
}
/**