dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18371
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7722: clean code
------------------------------------------------------------
revno: 7722
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-07-26 17:04:42 +0700
message:
clean code
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/action/LoginAction.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-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/action/LoginAction.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/action/LoginAction.java 2012-07-26 09:56:22 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/action/LoginAction.java 2012-07-26 10:04:42 +0000
@@ -75,11 +75,6 @@
{
Device device = deviceResolver.resolveDevice( ServletActionContext.getRequest() );
- System.out.println(ServletActionContext.getRequest().getHeader( "User-Agent" ));
- System.out.println(ServletActionContext.getRequest().getHeader("x-wap-profile"));
- System.out.println(ServletActionContext.getRequest().getHeader("Profile"));
- System.out.println(ServletActionContext.getRequest().getHeader("Accept"));
-
if ( device.isMobile() )
{
System.out.println("mobile");