Cleaned code
This commit is contained in:
parent
79aabdd91e
commit
2370d4daac
|
@ -263,18 +263,14 @@ public class CKANUser extends CKAN {
|
|||
return catalogueModerator;
|
||||
}
|
||||
|
||||
public String getSurnameName(){
|
||||
protected String getSurnameName(){
|
||||
User user = SecretManagerProvider.instance.get().getUser();
|
||||
return user.getFullName();
|
||||
}
|
||||
|
||||
public String getNameSurname() {
|
||||
protected String getNameSurname() {
|
||||
User user = SecretManagerProvider.instance.get().getUser();
|
||||
return String.format("%s %s", user.getGivenName(), user.getFamilyName()).trim();
|
||||
}
|
||||
|
||||
public String getEMail() {
|
||||
return SecretManagerProvider.instance.get().getUser().getEmail();
|
||||
return user.getFullName(true);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue