Page MenuHomePhabricator

D8857.diff
No OneTemporary

D8857.diff

diff --git a/src/applications/differential/storage/DifferentialTransaction.php b/src/applications/differential/storage/DifferentialTransaction.php
--- a/src/applications/differential/storage/DifferentialTransaction.php
+++ b/src/applications/differential/storage/DifferentialTransaction.php
@@ -112,6 +112,21 @@
return $phids;
}
+ public function getActionStrength() {
+
+ switch ($this->getTransactionType()) {
+ case self::TYPE_ACTION:
+ return 3;
+ case self::TYPE_UPDATE:
+ return 2;
+ case self::TYPE_INLINE:
+ return 0.25;
+ }
+
+ return parent::getActionStrength();
+ }
+
+
public function getActionName() {
switch ($this->getTransactionType()) {
case self::TYPE_INLINE:

File Metadata

Mime Type
text/plain
Expires
Sep 20 2025, 12:58 AM (10 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8495473
Default Alt Text
D8857.diff (751 B)

Event Timeline