Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
| Show First 20 Lines • Show All 621 Lines • ▼ Show 20 Lines | if ($status_object->getKey() != $status) { | ||||
| $status)); | $status)); | ||||
| } | } | ||||
| $legacy_status = $status_object->getLegacyKey(); | $legacy_status = $status_object->getLegacyKey(); | ||||
| return $this->setStatus($legacy_status); | return $this->setStatus($legacy_status); | ||||
| } | } | ||||
| public function getModernRevisionStatus() { | |||||
| return $this->getStatusObject()->getKey(); | |||||
| } | |||||
| public function isClosed() { | public function isClosed() { | ||||
| return $this->getStatusObject()->isClosedStatus(); | return $this->getStatusObject()->isClosedStatus(); | ||||
| } | } | ||||
| public function isAbandoned() { | public function isAbandoned() { | ||||
| return $this->getStatusObject()->isAbandoned(); | return $this->getStatusObject()->isAbandoned(); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 320 Lines • Show Last 20 Lines | |||||