summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2020-08-11 21:34:39 +0200
committerChristian Weiske <cweiske@cweiske.de>2020-08-11 21:35:48 +0200
commitebe7081c2b680acaea9c5d833e3f7328f04d4d6b (patch)
tree6b3def0853cbf3babddcd4239ae062e92c0ef1bf /apps/dav
parent50fdd45e9bbeaff811888ea5ddc984a5966bd6f6 (diff)
downloadnextcloud-server-ebe7081c2b680acaea9c5d833e3f7328f04d4d6b.tar.gz
nextcloud-server-ebe7081c2b680acaea9c5d833e3f7328f04d4d6b.zip
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();