Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / almanac / xaction / AlmanacBindingSetPropertyTransaction.php
blobcb1a7f9fa1ce14f63b81000d6f4faf329fa25b01
1 <?php
3 final class AlmanacBindingSetPropertyTransaction
4 extends AlmanacBindingTransactionType {
6 const TRANSACTIONTYPE = 'almanac:property:update';
8 public function generateOldValue($object) {
9 return $this->getAlmanacPropertyOldValue($object);
12 public function applyExternalEffects($object, $value) {
13 return $this->setAlmanacProperty($object, $value);
16 public function getTitle() {
17 return $this->getAlmanacSetPropertyTitle();
20 public function validateTransactions($object, array $xactions) {
21 return $this->validateAlmanacSetPropertyTransactions($object, $xactions);