Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13990337
D18246.id43881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D18246.id43881.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 23, 2:50 AM (3 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739570
Default Alt Text
D18246.id43881.diff (1 KB)
Attached To
Mode
D18246: Fix Pholio new mock feed story
Attached
Detach File
Event Timeline
Log In to Comment