diff --git a/src/applications/differential/storage/DifferentialDiff.php b/src/applications/differential/storage/DifferentialDiff.php index c16a9f85fd..abb677287f 100644 --- a/src/applications/differential/storage/DifferentialDiff.php +++ b/src/applications/differential/storage/DifferentialDiff.php @@ -421,25 +421,17 @@ final class DifferentialDiff public function getApplicationTransactionEditor() { - if (!$this->getRevisionID()) { - return null; - } - return $this->getRevision()->getApplicationTransactionEditor(); + + return new DifferentialDiffEditor(); } public function getApplicationTransactionObject() { - if (!$this->getRevisionID()) { - return null; - } - return $this->getRevision(); + return $this; } public function getApplicationTransactionTemplate() { - if (!$this->getRevisionID()) { - return null; - } - return $this->getRevision()->getApplicationTransactionTemplate(); + return new DifferentialDiffTransaction(); }