We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ef167 commit 78f4a8eCopy full SHA for 78f4a8e
apps/files_sharing/lib/API/Share20OCS.php
@@ -499,7 +499,7 @@ public function getShares() {
499
$userFolder = $this->rootFolder->getUserFolder($this->currentUser->getUID());
500
try {
501
$path = $userFolder->get($path);
502
- $path->lock(ILockingProvider::LOCK_SHARED);
+ $this->lock($path);
503
} catch (\OCP\Files\NotFoundException $e) {
504
throw new OCSNotFoundException($this->l->t('Wrong path, file/folder doesn\'t exist'));
505
} catch (LockedException $e) {
0 commit comments