Merge pull request #2091 from nextcloud/fix_1862
Do not request node when creating a user-group share
This commit is contained in:
commit
4d0037c461
|
@ -434,9 +434,9 @@ class DefaultShareProvider implements IShareProvider {
|
|||
'uid_owner' => $qb->createNamedParameter($share->getShareOwner()),
|
||||
'uid_initiator' => $qb->createNamedParameter($share->getSharedBy()),
|
||||
'parent' => $qb->createNamedParameter($share->getId()),
|
||||
'item_type' => $qb->createNamedParameter($share->getNode() instanceof File ? 'file' : 'folder'),
|
||||
'item_source' => $qb->createNamedParameter($share->getNode()->getId()),
|
||||
'file_source' => $qb->createNamedParameter($share->getNode()->getId()),
|
||||
'item_type' => $qb->createNamedParameter($share->getNodeType()),
|
||||
'item_source' => $qb->createNamedParameter($share->getNodeId()),
|
||||
'file_source' => $qb->createNamedParameter($share->getNodeId()),
|
||||
'file_target' => $qb->createNamedParameter($share->getTarget()),
|
||||
'permissions' => $qb->createNamedParameter($share->getPermissions()),
|
||||
'stime' => $qb->createNamedParameter($share->getShareTime()->getTimestamp()),
|
||||
|
|
Loading…
Reference in New Issue