Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2689643
D25094.1734739198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
827 B
Referenced Files
None
Subscribers
None
D25094.1734739198.diff
View Options
diff --git a/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php b/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
--- a/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
+++ b/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
@@ -23,6 +23,17 @@
}
public function getTitleForFeed() {
+ $obj = $this->getObject();
+
+ // To avoid verbose messages we mention the current title just once
+ if ($obj && $obj->getTitle() === $this->getNewValue()) {
+ return pht(
+ '%s retitled %s from %s',
+ $this->renderAuthor(),
+ $this->renderObject(),
+ $this->renderOldValue());
+ }
+
return pht(
'%s retitled %s from %s to %s.',
$this->renderAuthor(),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 23:59 (15 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020491
Default Alt Text
D25094.1734739198.diff (827 B)
Attached To
Mode
D25094: Feed Differential retitled: do not repeat the title twice
Attached
Detach File
Event Timeline
Log In to Comment