diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-12-05 09:35:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 09:35:46 +0100 |
commit | cebd51097d5750cd2e11c2f587832a44f120ccac (patch) | |
tree | 6c43bea0c21bf2be8759b3ac7af447516cfb1974 | |
parent | 0d602760df8172843d1475f66e79f8b30d0cbc10 (diff) | |
parent | b9b58b1acee7df631515584e33cd029c1a7e6257 (diff) | |
download | nextcloud-server-cebd51097d5750cd2e11c2f587832a44f120ccac.tar.gz nextcloud-server-cebd51097d5750cd2e11c2f587832a44f120ccac.zip |
Merge pull request #12835 from nextcloud/backport/12831/stable13
[stable13] Do not update child all child shares on group share update
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index b9ab7a46873..262d0029cf5 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -230,6 +230,7 @@ class DefaultShareProvider implements IShareProvider { $qb = $this->dbConn->getQueryBuilder(); $qb->update('share') ->where($qb->expr()->eq('parent', $qb->createNamedParameter($share->getId()))) + ->andWhere($qb->expr()->eq('share_type', $qb->createNamedParameter(self::SHARE_TYPE_USERGROUP))) ->set('uid_owner', $qb->createNamedParameter($share->getShareOwner())) ->set('uid_initiator', $qb->createNamedParameter($share->getSharedBy())) ->set('item_source', $qb->createNamedParameter($share->getNode()->getId())) |