Skip to content
Snippets Groups Projects
Commit cfc00aa2 authored by Arthur Schiwon's avatar Arthur Schiwon Committed by backportbot[bot]
Browse files

take into account that UNIQUE index might not work as expected

parent e5b59531
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment