Revert "Merge emails state the author if it differs from the submitter"
This reverts commit bac338caed.
Reason for revert: Faulty logic.
$fromEmail is not typically the email of the person triggering the action.
Change-Id: Id9b6fcf8e067d6f1d6d13afa0e1f1290d0b7dc58
			
			
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Copyright (C) 2016 The Android Open Source Project
 | 
			
		||||
 *
 | 
			
		||||
@@ -21,16 +22,10 @@
 | 
			
		||||
 * a change successfully merged to the head.
 | 
			
		||||
 * @param change
 | 
			
		||||
 * @param email
 | 
			
		||||
 * @param fromEmail
 | 
			
		||||
 * @param fromName
 | 
			
		||||
 * @param patchSetInfo
 | 
			
		||||
 */
 | 
			
		||||
{template .Merged kind="text"}
 | 
			
		||||
  {$fromName} merged this change
 | 
			
		||||
  {if $patchSetInfo.authorEmail != $fromEmail}
 | 
			
		||||
    {sp}by {$patchSetInfo.authorName}
 | 
			
		||||
  {/if}.
 | 
			
		||||
 | 
			
		||||
  {$fromName} has submitted this change and it was merged.
 | 
			
		||||
  {if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}
 | 
			
		||||
  {\n}
 | 
			
		||||
  Change subject: {$change.subject}{\n}
 | 
			
		||||
 
 | 
			
		||||
@@ -19,16 +19,11 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @param diffLines
 | 
			
		||||
 * @param email
 | 
			
		||||
 * @param fromEmail
 | 
			
		||||
 * @param fromName
 | 
			
		||||
 * @param patchSetInfo
 | 
			
		||||
 */
 | 
			
		||||
{template .MergedHtml}
 | 
			
		||||
  <p>
 | 
			
		||||
    {$fromName} <strong>merged</strong> this change
 | 
			
		||||
    {if $patchSetInfo.authorEmail != $fromEmail}
 | 
			
		||||
      {sp}by {$patchSetInfo.authorName}
 | 
			
		||||
    {/if}.
 | 
			
		||||
    {$fromName} <strong>merged</strong> this change.
 | 
			
		||||
  </p>
 | 
			
		||||
 | 
			
		||||
  {if $email.changeUrl}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user