]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unneeded unlock 1441/head
authorRobin Appelman <robin@icewind.nl>
Wed, 12 Oct 2016 14:12:01 +0000 (16:12 +0200)
committerRobin Appelman <robin@icewind.nl>
Wed, 12 Oct 2016 14:12:40 +0000 (16:12 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_sharing/lib/API/Share20OCS.php

index ac9ddc1fffa79cce64d0bc81c6c84ed63cd703ee..8d00d176678961037f67eca4690bf40188beb6c9 100644 (file)
@@ -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);