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:
Wyatt Allen 2018-02-23 01:03:36 +00:00
parent bac338caed
commit 985ace912e
2 changed files with 3 additions and 13 deletions

View File

@ -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}

View File

@ -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}