]> source.dussan.org Git - nextcloud-server.git/commit
In LockPlugin, only release a lock if it was acquired 21074/head
authorJaakko Salo <jaakkos@gmail.com>
Sun, 24 May 2020 17:03:48 +0000 (20:03 +0300)
committerJaakko Salo <jaakko@meetiqm.com>
Sun, 24 May 2020 17:26:38 +0000 (20:26 +0300)
commit6886b46ee28addba626cc1e8a87181ca2800de25
tree7f6bb3e4278b63fa40a7f748a8566f756c9b44fb
parentb7dd278e24685fbec34a95b797c204f4a1d53064
In LockPlugin, only release a lock if it was acquired

When uploading new files, getNodeForPath() will not succeed
yet so the lock cannot be acquired.

In that case, don't try to unlock it either.

Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
apps/dav/lib/Connector/Sabre/LockPlugin.php