Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2694358
D25421.1734779656.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
651 B
Referenced Files
None
Subscribers
None
D25421.1734779656.diff
View Options
diff --git a/src/applications/audit/storage/PhabricatorAuditTransaction.php b/src/applications/audit/storage/PhabricatorAuditTransaction.php
--- a/src/applications/audit/storage/PhabricatorAuditTransaction.php
+++ b/src/applications/audit/storage/PhabricatorAuditTransaction.php
@@ -338,7 +338,11 @@
$author = null;
}
- if ($author) {
+ $is_author_also_committer =
+ $author && $committer &&
+ $new['authorPHID'] === $new['committerPHID'];
+
+ if ($author && !$is_author_also_committer) {
$title = pht(
'%s committed %s (authored by %s).',
$committer,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 11:14 (18 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024288
Default Alt Text
D25421.1734779656.diff (651 B)
Attached To
Mode
D25421: Audit Feed: less verbose when the author is the committer
Attached
Detach File
Event Timeline
Log In to Comment