diff options
author | Robin Appelman <robin@icewind.nl> | 2021-04-27 16:43:34 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-04-27 21:29:51 +0300 |
commit | ed2d02d5f1000c76776c6e8dbe24fa787ffe6d0d (patch) | |
tree | ea8a4030a698abd0bfe7c797976d474972332345 /lib/private/Files/Storage | |
parent | 9de6efd14e4fd8bbf3c9cacde7524b205ca7e93e (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.php | 2 |
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); |