Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/query/PhabricatorCalendarEventQuery.php
Show First 20 Lines • Show All 438 Lines • ▼ Show 20 Lines | if ($this->instanceSequencePairs !== null) { | ||||
$conn, | $conn, | ||||
'(event.instanceOfEventPHID = %s AND event.sequenceIndex = %d)', | '(event.instanceOfEventPHID = %s AND event.sequenceIndex = %d)', | ||||
$pair[0], | $pair[0], | ||||
$pair[1]); | $pair[1]); | ||||
} | } | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'%Q', | '%LO', | ||||
implode(' OR ', $sql)); | $sql); | ||||
} | } | ||||
if ($this->isStub !== null) { | if ($this->isStub !== null) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'event.isStub = %d', | 'event.isStub = %d', | ||||
(int)$this->isStub); | (int)$this->isStub); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 292 Lines • Show Last 20 Lines |