diff --git a/lib/DAV/LockPlugin.php b/lib/DAV/LockPlugin.php index d0591501..93975923 100644 --- a/lib/DAV/LockPlugin.php +++ b/lib/DAV/LockPlugin.php @@ -157,9 +157,7 @@ public function customProperties(PropFind $propFind, INode $node) { return null; } - $type = $lock->getType(); - - return $type !== ILock::TYPE_TOKEN ? $type : ILock::TYPE_USER; + return $lock->getType(); }); $propFind->handle(Application::DAV_PROPERTY_LOCK_EDITOR, function () use ($nodeId) {