aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-08-14 05:43:42 +0200
committerGitHub <noreply@github.com>2020-08-14 05:43:42 +0200
commitf1dd87dc501b4941b6955836252e3b55ba3c24d3 (patch)
treea9248fd6946718f8f219bf1387011a547d94f106 /apps/dav
parent9bd58553db74dbc9d7d317fcd6886f1f20431b5a (diff)
parentebe7081c2b680acaea9c5d833e3f7328f04d4d6b (diff)
downloadnextcloud-server-f1dd87dc501b4941b6955836252e3b55ba3c24d3.tar.gz
nextcloud-server-f1dd87dc501b4941b6955836252e3b55ba3c24d3.zip
Merge pull request #22200 from cweiske/duplicated-sql-where-line
Remove duplicated SQL addWhere line
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index 5cddf6e84b6..159f5c71673 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -1812,7 +1812,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
->from('calendarobjects', 'co')
->leftJoin('co', 'calendars', 'c', $query->expr()->eq('co.calendarid', 'c.id'))
->where($query->expr()->eq('c.principaluri', $query->createNamedParameter($principalUri)))
- ->andWhere($query->expr()->eq('co.uid', $query->createNamedParameter($uid)))
->andWhere($query->expr()->eq('co.uid', $query->createNamedParameter($uid)));
$stmt = $query->execute();