3 final class PhabricatorRepositoryPushPolicyTransaction
4 extends PhabricatorRepositoryTransactionType
{
6 const TRANSACTIONTYPE
= 'repo:push-policy';
8 public function generateOldValue($object) {
9 return $object->getPushPolicy();
12 public function applyInternalEffects($object, $value) {
13 $object->setPushPolicy($value);
16 public function getTitle() {
18 '%s changed the push policy of this repository from %s to %s.',
19 $this->renderAuthor(),
20 $this->renderOldPolicy(),
21 $this->renderNewPolicy());