summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-06-03 13:34:54 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-06-09 13:59:58 +0200
commitf4831f4074f94beeed9330eb6039e4be9a0e5651 (patch)
treebff1479f239041e54235ee49bbb48d9a2d67c7e3 /lib/private
parent67c2c85b05269c0ab996f45cbc13a2babfb1a829 (diff)
downloadnextcloud-server-f4831f4074f94beeed9330eb6039e4be9a0e5651.tar.gz
nextcloud-server-f4831f4074f94beeed9330eb6039e4be9a0e5651.zip
return success when deleting ghost files
Diffstat (limited to 'lib/private')
-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;
}
/**