Page MenuHomePhabricator

D18246.diff
No OneTemporary

D18246.diff

diff --git a/src/applications/pholio/editor/PholioMockEditor.php b/src/applications/pholio/editor/PholioMockEditor.php
--- a/src/applications/pholio/editor/PholioMockEditor.php
+++ b/src/applications/pholio/editor/PholioMockEditor.php
@@ -22,6 +22,14 @@
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
--- a/src/applications/pholio/xaction/PholioMockNameTransaction.php
+++ b/src/applications/pholio/xaction/PholioMockNameTransaction.php
@@ -9,6 +9,10 @@
return $object->getName();
}
+ public function getActionStrength() {
+ return 1.4;
+ }
+
public function applyInternalEffects($object, $value) {
$object->setName($value);
if ($object->getOriginalName() === null) {

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 13, 6:57 AM (23 h, 5 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739570
Default Alt Text
D18246.diff (1 KB)

Event Timeline