Page MenuHomePhabricator

D10911.id26208.diff
No OneTemporary

D10911.id26208.diff

diff --git a/src/applications/differential/storage/DifferentialDiff.php b/src/applications/differential/storage/DifferentialDiff.php
--- a/src/applications/differential/storage/DifferentialDiff.php
+++ b/src/applications/differential/storage/DifferentialDiff.php
@@ -421,25 +421,17 @@
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();
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 1:17 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6910445
Default Alt Text
D10911.id26208.diff (955 B)

Event Timeline