dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25272
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12491: remove qualified user check for sending SMS
------------------------------------------------------------
revno: 12491
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-08 14:11:22 +0700
message:
remove qualified user check for sending SMS
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.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-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java 2013-09-05 06:05:43 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java 2013-10-08 07:11:22 +0000
@@ -155,18 +155,14 @@
{
if ( !currentUserService.getCurrentUser().equals( user ) )
{
- if ( isQualifiedReceiver( user ) )
- {
- toSendList.add( user );
- }
+ //if ( isQualifiedReceiver( user ) )
+ toSendList.add( user );
}
}
else if ( currentUserService.getCurrentUser() == null )
{
- if ( isQualifiedReceiver( user ) )
- {
- toSendList.add( user );
- }
+ //if ( isQualifiedReceiver( user ) )
+ toSendList.add( user );
}
}
}