diff --git a/src/applications/pholio/editor/PholioMockEditor.php b/src/applications/pholio/editor/PholioMockEditor.php index ebd5703170..c0fcf31f83 100644 --- a/src/applications/pholio/editor/PholioMockEditor.php +++ b/src/applications/pholio/editor/PholioMockEditor.php @@ -22,6 +22,14 @@ final class PholioMockEditor extends PhabricatorApplicationTransactionEditor { return $this->newImages; } + public function getCreateObjectTitle($author, $object) { + return pht('%s created this mock.', $author); + } + + public function getCreateObjectTitleForFeed($author, $object) { + return pht('%s created %s.', $author, $object); + } + public function getTransactionTypes() { $types = parent::getTransactionTypes(); diff --git a/src/applications/pholio/xaction/PholioMockNameTransaction.php b/src/applications/pholio/xaction/PholioMockNameTransaction.php index a96475f223..d1231636af 100644 --- a/src/applications/pholio/xaction/PholioMockNameTransaction.php +++ b/src/applications/pholio/xaction/PholioMockNameTransaction.php @@ -9,6 +9,10 @@ final class PholioMockNameTransaction return $object->getName(); } + public function getActionStrength() { + return 1.4; + } + public function applyInternalEffects($object, $value) { $object->setName($value); if ($object->getOriginalName() === null) {