aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/API
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/API')
-rw-r--r--apps/files_sharing/lib/API/Share20OCS.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/API/Share20OCS.php b/apps/files_sharing/lib/API/Share20OCS.php
index ac9ddc1fffa..8d00d176678 100644
--- a/apps/files_sharing/lib/API/Share20OCS.php
+++ b/apps/files_sharing/lib/API/Share20OCS.php
@@ -414,8 +414,6 @@ class Share20OCS extends OCSController {
throw new OCSException($e->getHint(), $code);
} catch (\Exception $e) {
throw new OCSForbiddenException($e->getMessage());
- } finally {
- $share->getNode()->unlock(ILockingProvider::LOCK_SHARED);
}
$output = $this->formatShare($share);