Merge pull request #22200 from cweiske/duplicated-sql-where-line
Remove duplicated SQL addWhere line
This commit is contained in:
commit
f1dd87dc50
|
@ -1812,7 +1812,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
->from('calendarobjects', 'co')
|
->from('calendarobjects', 'co')
|
||||||
->leftJoin('co', 'calendars', 'c', $query->expr()->eq('co.calendarid', 'c.id'))
|
->leftJoin('co', 'calendars', 'c', $query->expr()->eq('co.calendarid', 'c.id'))
|
||||||
->where($query->expr()->eq('c.principaluri', $query->createNamedParameter($principalUri)))
|
->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)));
|
->andWhere($query->expr()->eq('co.uid', $query->createNamedParameter($uid)));
|
||||||
|
|
||||||
$stmt = $query->execute();
|
$stmt = $query->execute();
|
||||||
|
|
Loading…
Reference in New Issue