Differential D16955 Diff 40808 src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Show First 20 Lines • Show All 496 Lines • ▼ Show 20 Lines | switch ($xaction->getTransactionType()) { | ||||
if ($old_value['data'] !== $new_value['data']) { | if ($old_value['data'] !== $new_value['data']) { | ||||
return true; | return true; | ||||
} | } | ||||
} | } | ||||
return false; | return false; | ||||
} | } | ||||
$type = $xaction->getTransactionType(); | |||||
$xtype = $this->getModularTransactionType($type); | |||||
if ($xtype) { | |||||
return $xtype->getTransactionHasEffect( | |||||
$object, | |||||
$xaction->getOldValue(), | |||||
$xaction->getNewValue()); | |||||
} | |||||
return ($xaction->getOldValue() !== $xaction->getNewValue()); | return ($xaction->getOldValue() !== $xaction->getNewValue()); | ||||
} | } | ||||
protected function shouldApplyInitialEffects( | protected function shouldApplyInitialEffects( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
return false; | return false; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 3,305 Lines • Show Last 20 Lines |