summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-02-02 21:43:42 +0100
committerGitHub <noreply@github.com>2021-02-02 21:43:42 +0100
commit5c6d24566181c6327f266b467396172fd08e7d95 (patch)
treee6ae07b73283a8224490e562a20daca3e4aaf65a /apps
parente55862f2c846edd003401eb8744d9037a4d64534 (diff)
parentd4a45b4cacd4cbdb66aefc9c5c1dd24692fa7304 (diff)
downloadnextcloud-server-5c6d24566181c6327f266b467396172fd08e7d95.tar.gz
nextcloud-server-5c6d24566181c6327f266b467396172fd08e7d95.zip
Merge pull request #25393 from nextcloud/fix/25165/repair-dav-shares
add repair job for unencoded group share uris
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/DAV/Sharing/Backend.php1
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 = [];