3 final class PhabricatorRepositoryEnormousTransaction
4 extends PhabricatorRepositoryTransactionType
{
6 const TRANSACTIONTYPE
= 'repo:enormous';
8 public function generateOldValue($object) {
9 return $object->shouldAllowEnormousChanges();
12 public function applyInternalEffects($object, $value) {
13 $object->setDetail('allow-enormous-changes', $value);
16 public function getTitle() {
17 $new = $this->getNewValue();
21 '%s disabled protection against enormous changes.',
22 $this->renderAuthor());
25 '%s enabled protection against enormous changes.',
26 $this->renderAuthor());