Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-04-27 16:43:34 +0300
committerRobin Appelman <robin@icewind.nl>2021-04-27 21:29:51 +0300
commited2d02d5f1000c76776c6e8dbe24fa787ffe6d0d (patch)
treeea8a4030a698abd0bfe7c797976d474972332345 /lib/private/Files/Storage
parent9de6efd14e4fd8bbf3c9cacde7524b205ca7e93e (diff)
better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r--lib/private/Files/Storage/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php
index aa2aeee403b..21baea1b78f 100644
--- a/lib/private/Files/Storage/Common.php
+++ b/lib/private/Files/Storage/Common.php
@@ -153,7 +153,7 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
public function isDeletable($path) {
if ($path === '' || $path === '/') {
- return false;
+ return $this->isUpdatable($path);
}
$parent = dirname($path);
return $this->isUpdatable($parent) && $this->isUpdatable($path);