Page MenuHomePhabricator

UserMailerRealName.patch

Authored By
bzimport
Nov 21 2014, 9:40 PM
Size
552 B
Referenced Files
None
Subscribers
None

UserMailerRealName.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3437
Default Alt Text
UserMailerRealName.patch (552 B)

Event Timeline