← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19717: fix crash on SMS sent page

 

------------------------------------------------------------
revno: 19717
committer: Long Ngo Thanh <thanhlongngo1988@xxxxxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-08-05 15:28:11 +0700
message:
  fix crash on SMS sent page
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/java/org/hisp/dhis/mobile/action/ShowSentSMSAction.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-maintenance/dhis-web-maintenance-mobile/src/main/java/org/hisp/dhis/mobile/action/ShowSentSMSAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/java/org/hisp/dhis/mobile/action/ShowSentSMSAction.java	2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/java/org/hisp/dhis/mobile/action/ShowSentSMSAction.java	2015-08-05 08:28:11 +0000
@@ -35,7 +35,6 @@
 
 import org.hisp.dhis.paging.ActionPagingSupport;
 import org.hisp.dhis.program.ProgramStageInstanceService;
-import org.hisp.dhis.program.SchedulingProgramObject;
 import org.hisp.dhis.sms.outbound.OutboundSms;
 import org.hisp.dhis.sms.outbound.OutboundSmsService;
 import org.hisp.dhis.sms.outbound.OutboundSmsStatus;
@@ -99,13 +98,6 @@
         this.filterStatusType = filterStatusType;
     }
 
-    private Collection<SchedulingProgramObject> schedulingProgramObjects;
-
-    public Collection<SchedulingProgramObject> getSchedulingProgramObjects()
-    {
-        return schedulingProgramObjects;
-    }
-
     private List<String> recipientNames;
 
     public List<String> getRecipientNames()
@@ -186,7 +178,7 @@
             }
             recipientNames.add( tempString );
         }
-        schedulingProgramObjects = programStageInstanceService.getSendMesssageEvents();
+
         return SUCCESS;
     }