diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-02-09 14:36:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 14:36:12 +0100 |
commit | 7a09536114c90261db9174cf4853c745eac044c0 (patch) | |
tree | 867bfe7b418460294d993fe7c23d57a1a6e844ce /apps/dav | |
parent | 0fd3c5f8cbafe018f7df1b17c9e626e5fa3a0f7d (diff) | |
parent | a834819abb91e2654afb25a3eb0696d9648104f2 (diff) | |
download | nextcloud-server-7a09536114c90261db9174cf4853c745eac044c0.tar.gz nextcloud-server-7a09536114c90261db9174cf4853c745eac044c0.zip |
Merge pull request #25450 from nextcloud/backport/25393/stable21
[stable21] add repair job for unencoded group share uris
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/DAV/Sharing/Backend.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php index 71d2accb9cf..52fb21210f8 100644 --- a/apps/dav/lib/DAV/Sharing/Backend.php +++ b/apps/dav/lib/DAV/Sharing/Backend.php @@ -195,6 +195,7 @@ class Backend { ->from('dav_shares') ->where($query->expr()->eq('resourceid', $query->createNamedParameter($resourceId))) ->andWhere($query->expr()->eq('type', $query->createNamedParameter($this->resourceType))) + ->groupBy(['principaluri', 'access']) ->execute(); $shares = []; |