Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3870
UserMailerRealName.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:40 PM
2014-11-21 21:40:09 (UTC+0)
Size
552 B
Referenced Files
None
Subscribers
None
UserMailerRealName.patch
View Options
Index: UserMailer.php
===================================================================
--- UserMailer.php (revision 21321)
+++ UserMailer.php (working copy)
@@ -418,6 +418,7 @@
// The mail command will not parse this properly while talking with the MTA.
$to = new MailAddress( $watchingUser );
$body = str_replace( '$WATCHINGUSERNAME', $watchingUser->getName() , $this->body );
+ $body = str_replace( '$WATCHINGUSERREALNAME', $watchingUser->getRealName(), $body);
$timecorrection = $watchingUser->getOption( 'timecorrection' );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3437
Default Alt Text
UserMailerRealName.patch (552 B)
Attached To
Mode
T11607: Use real name in notification emails if available
Attached
Detach File
Event Timeline
Log In to Comment