Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14042922
D18246.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.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, 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)
Attached To
Mode
D18246: Fix Pholio new mock feed story
Attached
Detach File
Event Timeline
Log In to Comment