Differential D18343 Diff 44161 src/applications/differential/conduit/DifferentialQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/conduit/DifferentialQueryConduitAPIMethod.php
| Show All 19 Lines | return pht( | ||||
| 'This method is frozen and will eventually be deprecated. New code '. | 'This method is frozen and will eventually be deprecated. New code '. | ||||
| 'should use "differential.revision.search" instead.'); | 'should use "differential.revision.search" instead.'); | ||||
| } | } | ||||
| protected function defineParamTypes() { | protected function defineParamTypes() { | ||||
| $hash_types = ArcanistDifferentialRevisionHash::getTypes(); | $hash_types = ArcanistDifferentialRevisionHash::getTypes(); | ||||
| $hash_const = $this->formatStringConstants($hash_types); | $hash_const = $this->formatStringConstants($hash_types); | ||||
| $status_types = array( | $status_types = DifferentialLegacyQuery::getAllConstants(); | ||||
| DifferentialRevisionQuery::STATUS_ANY, | |||||
| DifferentialRevisionQuery::STATUS_OPEN, | |||||
| DifferentialRevisionQuery::STATUS_ACCEPTED, | |||||
| DifferentialRevisionQuery::STATUS_CLOSED, | |||||
| ); | |||||
| $status_const = $this->formatStringConstants($status_types); | $status_const = $this->formatStringConstants($status_types); | ||||
| $order_types = array( | $order_types = array( | ||||
| DifferentialRevisionQuery::ORDER_MODIFIED, | DifferentialRevisionQuery::ORDER_MODIFIED, | ||||
| DifferentialRevisionQuery::ORDER_CREATED, | DifferentialRevisionQuery::ORDER_CREATED, | ||||
| ); | ); | ||||
| $order_const = $this->formatStringConstants($order_types); | $order_const = $this->formatStringConstants($order_types); | ||||
| ▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines | |||||