From 2de59d8a2a32427654a4ae70146464b7a338c308 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 12 Oct 2016 16:12:01 +0200 Subject: [PATCH] remove unneeded unlock Signed-off-by: Robin Appelman --- apps/files_sharing/lib/API/Share20OCS.php | 2 -- 1 file changed, 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);