From ebe7081c2b680acaea9c5d833e3f7328f04d4d6b Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 11 Aug 2020 21:34:39 +0200 Subject: [PATCH] Remove duplicated SQL addWhere line --- apps/dav/lib/CalDAV/CalDavBackend.php | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.39.5