remove unneeded unlock
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
1484d01ff6
commit
2de59d8a2a
|
@ -414,8 +414,6 @@ class Share20OCS extends OCSController {
|
||||||
throw new OCSException($e->getHint(), $code);
|
throw new OCSException($e->getHint(), $code);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new OCSForbiddenException($e->getMessage());
|
throw new OCSForbiddenException($e->getMessage());
|
||||||
} finally {
|
|
||||||
$share->getNode()->unlock(ILockingProvider::LOCK_SHARED);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = $this->formatShare($share);
|
$output = $this->formatShare($share);
|
||||||
|
|
Loading…
Reference in New Issue