Page MenuHomePhabricator

D16236.id39054.diff
No OneTemporary

D16236.id39054.diff

diff --git a/src/applications/transactions/storage/PhabricatorModularTransaction.php b/src/applications/transactions/storage/PhabricatorModularTransaction.php
--- a/src/applications/transactions/storage/PhabricatorModularTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorModularTransaction.php
@@ -135,4 +135,9 @@
return parent::renderChangeDetails($viewer);
}
+ final public function getRequiredHandlePHIDs() {
+ $base = parent::getRequiredHandlePHIDs();
+ $type = $this->getTransactionImplementation()->getRequiredHandlePHIDs();
+ return array_merge($base, $type);
+ }
}
diff --git a/src/applications/transactions/storage/PhabricatorModularTransactionType.php b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
--- a/src/applications/transactions/storage/PhabricatorModularTransactionType.php
+++ b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
@@ -129,6 +129,14 @@
return $this->getStorage()->renderHandleLink($object_phid);
}
+ public function getRequiredHandlePHIDs() {
+ return array();
+ }
+
+ final protected function renderHandle($phid) {
+ return $this->getStorage()->renderHandleLink($phid);
+ }
+
final protected function newError($title, $message, $xaction = null) {
return new PhabricatorApplicationTransactionValidationError(
$this->getTransactionTypeConstant(),

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 29, 7:09 AM (5 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7330888
Default Alt Text
D16236.id39054.diff (1 KB)

Event Timeline