Differential D20424 Diff 48778 src/applications/repository/xaction/PhabricatorRepositoryNotifyTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/xaction/PhabricatorRepositoryNotifyTransaction.php
| Show All 16 Lines | public function applyInternalEffects($object, $value) { | ||||
| $object->setDetail('herald-disabled', (int)!$value); | $object->setDetail('herald-disabled', (int)!$value); | ||||
| } | } | ||||
| public function getTitle() { | public function getTitle() { | ||||
| $new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
| if ($new) { | if ($new) { | ||||
| return pht( | return pht( | ||||
| '%s enabled notifications and publishing for this repository.', | '%s enabled publishing for this repository.', | ||||
| $this->renderAuthor()); | $this->renderAuthor()); | ||||
| } else { | } else { | ||||
| return pht( | return pht( | ||||
| '%s disabled notifications and publishing for this repository.', | '%s disabled publishing for this repository.', | ||||
| $this->renderAuthor()); | $this->renderAuthor()); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||