Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/query/PhabricatorCalendarEventQuery.php
Show First 20 Lines • Show All 503 Lines • ▼ Show 20 Lines | final class PhabricatorCalendarEventQuery | ||||
protected function shouldGroupQueryResultRows() { | protected function shouldGroupQueryResultRows() { | ||||
if ($this->inviteePHIDs !== null) { | if ($this->inviteePHIDs !== null) { | ||||
return true; | return true; | ||||
} | } | ||||
return parent::shouldGroupQueryResultRows(); | return parent::shouldGroupQueryResultRows(); | ||||
} | } | ||||
protected function getApplicationSearchObjectPHIDColumn() { | |||||
return 'event.phid'; | |||||
} | |||||
epriestley: This method has no effect: this is the default behavior of the parent method, so removing it… | |||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorCalendarApplication'; | return 'PhabricatorCalendarApplication'; | ||||
} | } | ||||
protected function willFilterPage(array $events) { | protected function willFilterPage(array $events) { | ||||
$instance_of_event_phids = array(); | $instance_of_event_phids = array(); | ||||
$recurring_events = array(); | $recurring_events = array(); | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |
This method has no effect: this is the default behavior of the parent method, so removing it does not change program behavior.
(It otherwise needed a signature change, so I just nuked it instead.)