Revert "IdentifiedUser: Remove unused getName method"

The Gitiles plugin relies on this method.

This reverts commit 38d9918edf.

Change-Id: I504e9604f5a15b5f8f9822db70c6d4a9778c7b15
This commit is contained in:
Edwin Kempin
2016-02-18 12:59:11 +00:00
parent 38d9918edf
commit dfa512f920

View File

@@ -308,6 +308,10 @@ public class IdentifiedUser extends CurrentUser {
return validEmails;
}
public String getName() {
return new AccountInfo(getAccount()).getName(anonymousCowardName);
}
public String getNameEmail() {
return new AccountInfo(getAccount()).getNameEmail(anonymousCowardName);
}