dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15633
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5712: Minor fix for Used.getName method
------------------------------------------------------------
revno: 5712
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-01-12 07:36:54 +0100
message:
Minor fix for Used.getName method
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java 2011-12-13 18:41:43 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java 2012-01-12 06:36:54 +0000
@@ -168,11 +168,6 @@
@Override
public String getName()
{
- if ( userCredentials != null )
- {
- return userCredentials.getUsername();
- }
-
return firstName + " " + surname;
}