]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove duplicated SQL addWhere line 22200/head
authorChristian Weiske <cweiske@cweiske.de>
Tue, 11 Aug 2020 19:34:39 +0000 (21:34 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 11 Aug 2020 19:35:48 +0000 (21:35 +0200)
apps/dav/lib/CalDAV/CalDavBackend.php

index 5cddf6e84b6ff10ff27101c6aa49d5dea12bd3ed..159f5c7167355b309587d690a818910003427d40 100644 (file)
@@ -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();