← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15274: [mobile] clean up, remove unused classes

 

------------------------------------------------------------
revno: 15274
committer: Long <long.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2014-05-15 10:44:47 +0700
message:
  [mobile] clean up, remove unused classes
removed:
  dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java
  dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java
  dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java
modified:
  dhis-2/dhis-web/dhis-web-light/src/main/resources/META-INF/dhis/beans.xml
  dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml
  dhis-2/dhis-web/dhis-web-sms/src/main/resources/META-INF/dhis/beans.xml
  dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml


--
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
=== removed file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java	2014-03-18 08:10:10 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java	1970-01-01 00:00:00 +0000
@@ -1,99 +0,0 @@
-package org.hisp.dhis.light.beneficiaryenrollment.action;
-
-/*
- * Copyright (c) 2004-2014, University of Oslo
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- *
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of the HISP project nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.hisp.dhis.trackedentity.TrackedEntityInstance;
-import org.hisp.dhis.trackedentity.TrackedEntityInstanceService;
-
-import com.opensymphony.xwork2.Action;
-
-public class SearchBeneficiaryAction
-    implements Action
-{
-    // -------------------------------------------------------------------------
-    // Dependencies
-    // -------------------------------------------------------------------------
-
-    private TrackedEntityInstanceService patientService;
-
-    public TrackedEntityInstanceService getPatientService()
-    {
-        return patientService;
-    }
-
-    public void setPatientService( TrackedEntityInstanceService patientService )
-    {
-        this.patientService = patientService;
-    }
-
-    // -------------------------------------------------------------------------
-    // Input & Output
-    // -------------------------------------------------------------------------
-
-    private String keyword;
-
-    public String getKeyword()
-    {
-        return keyword;
-    }
-
-    public void setKeyword( String keyword )
-    {
-        this.keyword = keyword;
-    }
-
-    public List<TrackedEntityInstance> patientList;
-
-    public List<TrackedEntityInstance> getPatientList()
-    {
-        return patientList;
-    }
-
-    public void setPatientList( List<TrackedEntityInstance> patientList )
-    {
-        this.patientList = patientList;
-    }
-
-    @Override
-    public String execute()
-        throws Exception
-    {
-        String[] tokens = keyword.split( " " );
-        if ( tokens.length == 2 )
-        {
-            keyword = tokens[0] + "  " + tokens[1];
-        }
-        patientList = new ArrayList<TrackedEntityInstance>(patientService.getTrackedEntityInstancesForMobile( keyword, 0 ) );
-        return SUCCESS;
-    }
-
-}

=== removed file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java	2014-03-18 08:10:10 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java	1970-01-01 00:00:00 +0000
@@ -1,175 +0,0 @@
-package org.hisp.dhis.light.singleevent.action;
-
-/*
- * Copyright (c) 2004-2014, University of Oslo
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- *
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of the HISP project nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-import com.opensymphony.xwork2.Action;
-
-import org.hisp.dhis.organisationunit.OrganisationUnit;
-import org.hisp.dhis.organisationunit.OrganisationUnitService;
-import org.hisp.dhis.program.Program;
-import org.hisp.dhis.program.ProgramInstanceService;
-import org.hisp.dhis.program.ProgramService;
-import org.hisp.dhis.trackedentity.TrackedEntityInstance;
-import org.hisp.dhis.trackedentity.TrackedEntityInstanceService;
-import org.hisp.dhis.util.SessionUtils;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-public class GetSingleEventBeneficiaryAction
-    implements Action
-{
-    // -------------------------------------------------------------------------
-    // Dependencies
-    // -------------------------------------------------------------------------
-
-    private ProgramInstanceService programInstanceService;
-
-    public ProgramInstanceService getProgramInstanceService()
-    {
-        return programInstanceService;
-    }
-
-    public void setProgramInstanceService( ProgramInstanceService programInstanceService )
-    {
-        this.programInstanceService = programInstanceService;
-    }
-
-    private ProgramService programService;
-
-    public ProgramService getProgramService()
-    {
-        return programService;
-    }
-
-    public void setProgramService( ProgramService programService )
-    {
-        this.programService = programService;
-    }
-
-    private OrganisationUnitService organisationUnitService;
-
-    public OrganisationUnitService getOrganisationUnitService()
-    {
-        return organisationUnitService;
-    }
-
-    public void setOrganisationUnitService( OrganisationUnitService organisationUnitService )
-    {
-        this.organisationUnitService = organisationUnitService;
-    }
-
-    private TrackedEntityInstanceService patientService;
-
-    public TrackedEntityInstanceService getPatientService()
-    {
-        return patientService;
-    }
-
-    public void setPatientService( TrackedEntityInstanceService patientService )
-    {
-        this.patientService = patientService;
-    }
-
-    // -------------------------------------------------------------------------
-    // Input & Output
-    // -------------------------------------------------------------------------
-
-    private List<TrackedEntityInstance> singleEventBeneficiaryList = new ArrayList<TrackedEntityInstance>();
-
-    public List<TrackedEntityInstance> getSingleEventBeneficiaryList()
-    {
-        return singleEventBeneficiaryList;
-    }
-
-    public void setSingleEventBeneficiaryList( List<TrackedEntityInstance> singleEventBeneficiaryList )
-    {
-        this.singleEventBeneficiaryList = singleEventBeneficiaryList;
-    }
-
-    private Integer organisationUnitId;
-
-    public Integer getOrganisationUnitId()
-    {
-        return organisationUnitId;
-    }
-
-    public void setOrganisationUnitId( Integer organisationUnitId )
-    {
-        this.organisationUnitId = organisationUnitId;
-    }
-
-    private Integer programId;
-
-    public Integer getProgramId()
-    {
-        return programId;
-    }
-
-    public void setProgramId( Integer programId )
-    {
-        this.programId = programId;
-    }
-
-    private boolean validated;
-
-    public boolean isValidated()
-    {
-        return validated;
-    }
-
-    public void setValidated( boolean validated )
-    {
-        this.validated = validated;
-    }
-
-    @Override
-    public String execute()
-        throws Exception
-    {
-        //delete previous data value of other single event form
-        SessionUtils.removeSessionVar( "prevDataValues" );
-
-        OrganisationUnit orgUnit = organisationUnitService.getOrganisationUnit( organisationUnitId );
-        Program program = programService.getProgram( programId );
-        Collection<TrackedEntityInstance> allPatient = patientService.getTrackedEntityInstances( orgUnit, 0, Integer.MAX_VALUE );
-
-        for ( TrackedEntityInstance patient : allPatient )
-        {
-            if ( programInstanceService.getProgramInstances( patient, program ).size() == 0 )
-            {
-                singleEventBeneficiaryList.add( patient );
-            }
-        }
-
-        return SUCCESS;
-    }
-
-}

=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-light/src/main/resources/META-INF/dhis/beans.xml	2014-05-12 09:15:31 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/resources/META-INF/dhis/beans.xml	2014-05-15 03:44:47 +0000
@@ -378,13 +378,6 @@
 	</bean>
 
 	<bean
-		id="org.hisp.dhis.light.beneficiaryenrollment.action.SearchBeneficiaryAction"
-		class="org.hisp.dhis.light.beneficiaryenrollment.action.SearchBeneficiaryAction"
-		scope="prototype">
-		<property name="patientService" ref="org.hisp.dhis.trackedentity.TrackedEntityInstanceService" />
-	</bean>
-
-	<bean
 		id="org.hisp.dhis.light.beneficiaryenrollment.action.GetEnrollmentProgramListAction"
 		class="org.hisp.dhis.light.beneficiaryenrollment.action.GetEnrollmentProgramListAction"
 		scope="prototype">
@@ -427,17 +420,6 @@
 			ref="org.hisp.dhis.organisationunit.OrganisationUnitService" />
 	</bean>
 
-	<bean
-		id="org.hisp.dhis.light.singleevent.action.GetSingleEventBeneficiaryAction"
-		class="org.hisp.dhis.light.singleevent.action.GetSingleEventBeneficiaryAction"
-		scope="prototype">
-		<property name="programService" ref="org.hisp.dhis.program.ProgramService" />
-		<property name="organisationUnitService"
-			ref="org.hisp.dhis.organisationunit.OrganisationUnitService" />
-		<property name="programInstanceService" ref="org.hisp.dhis.program.ProgramInstanceService" />
-		<property name="patientService" ref="org.hisp.dhis.trackedentity.TrackedEntityInstanceService" />
-	</bean>
-
 	<bean id="org.hisp.dhis.light.singleevent.action.GetSingleEventFormAction"
 		class="org.hisp.dhis.light.singleevent.action.GetSingleEventFormAction"
 		scope="prototype">

=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml	2014-05-12 09:15:31 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/resources/struts.xml	2014-05-15 03:44:47 +0000
@@ -321,13 +321,6 @@
 			<param name="requiredAuthorities">F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
 		</action>
 
-		<action name="searchBeneficiary"
-			class="org.hisp.dhis.light.beneficiaryenrollment.action.SearchBeneficiaryAction">
-			<result name="success" type="velocity">/dhis-web-light/main.vm</result>
-			<param name="page">/dhis-web-light/enrollment/beneficiarySearchResult.vm</param>
-			<param name="requiredAuthorities">F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
-		</action>
-
 		<action name="selectEnrollmentProgram"
 			class="org.hisp.dhis.light.beneficiaryenrollment.action.GetEnrollmentProgramListAction">
 			<result name="success" type="velocity">/dhis-web-light/main.vm</result>
@@ -359,12 +352,6 @@
 			<param name="page">/dhis-web-light/singleevent/selectSingleEvent.vm</param>
 		</action>
 
-		<action name="selectSingleEventBeneficiary"
-			class="org.hisp.dhis.light.singleevent.action.GetSingleEventBeneficiaryAction">
-			<result name="success" type="velocity">/dhis-web-light/main.vm</result>
-			<param name="page">/dhis-web-light/singleevent/selectSingleEventBeneficiary.vm</param>
-		</action>
-
 		<action name="showSingleEventForm"
 			class="org.hisp.dhis.light.singleevent.action.GetSingleEventFormAction">
 			<result name="success" type="velocity">/dhis-web-light/main.vm</result>

=== removed file 'dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java'
--- dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java	2014-05-08 04:49:26 +0000
+++ dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java	1970-01-01 00:00:00 +0000
@@ -1,178 +0,0 @@
-package org.hisp.dhis.sms.outcoming;
-
-/*
- * Copyright (c) 2004-2014, University of Oslo
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- *
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of the HISP project nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-
-import org.hisp.dhis.organisationunit.OrganisationUnit;
-import org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager;
-import org.hisp.dhis.paging.ActionPagingSupport;
-import org.hisp.dhis.program.ProgramService;
-import org.hisp.dhis.trackedentity.TrackedEntityInstance;
-import org.hisp.dhis.trackedentity.TrackedEntityInstanceService;
-import org.springframework.beans.factory.annotation.Autowired;
-
-public class SearchPatientAction
-    extends ActionPagingSupport<TrackedEntityInstance>
-{
-    // -------------------------------------------------------------------------
-    // Dependencies
-    // -------------------------------------------------------------------------
-
-    @Autowired
-    private OrganisationUnitSelectionManager selectionManager;
-
-    @Autowired
-    private TrackedEntityInstanceService trackedEntityInstanceService;
-
-    @Autowired
-    private ProgramService programService;
-
-    // -------------------------------------------------------------------------
-    // Input/output
-    // -------------------------------------------------------------------------
-
-    private List<String> searchTexts = new ArrayList<String>();
-
-    private Boolean searchBySelectedOrgunit;
-
-    private boolean listAll;
-
-    private Collection<TrackedEntityInstance> patients = new ArrayList<TrackedEntityInstance>();
-
-    // -------------------------------------------------------------------------
-    // Getters && Setters
-    // -------------------------------------------------------------------------
-
-    public void setSearchBySelectedOrgunit( Boolean searchBySelectedOrgunit )
-    {
-        this.searchBySelectedOrgunit = searchBySelectedOrgunit;
-    }
-
-    public void setSearchTexts( List<String> searchTexts )
-    {
-        this.searchTexts = searchTexts;
-    }
-
-    public void setListAll( boolean listAll )
-    {
-        this.listAll = listAll;
-    }
-
-    public Collection<TrackedEntityInstance> getPatients()
-    {
-        return patients;
-    }
-
-    private Integer total;
-
-    public Integer getTotal()
-    {
-        return total;
-    }
-
-    private Map<Integer, String> mapPatientOrgunit = new HashMap<Integer, String>();
-
-    public Map<Integer, String> getMapPatientOrgunit()
-    {
-        return mapPatientOrgunit;
-    }
-
-    // -------------------------------------------------------------------------
-    // Action implementation
-    // -------------------------------------------------------------------------
-
-    public String execute()
-        throws Exception
-    {
-        OrganisationUnit organisationUnit = selectionManager.getSelectedOrganisationUnit();
-        Collection<OrganisationUnit> orgunits = new HashSet<OrganisationUnit>();
-
-        // List all patients
-        if ( listAll )
-        {
-            //TODO re-implement using TrackedEntityInstanceService.getTrackedEntityInstances( TrackedEntityInstanceQueryParams )
-            
-            //total = patientService.countGetTrackedEntityInstancesByOrgUnit( organisationUnit );
-            this.paging = createPaging( total );
-
-            //patients = new ArrayList<TrackedEntityInstance>( patientService.getTrackedEntityInstances( organisationUnit, paging.getStartPos(), paging.getPageSize() ) );
-
-        }
-        // search patients
-        else if ( searchTexts.size() > 0 )
-        {
-            organisationUnit = (searchBySelectedOrgunit) ? organisationUnit : null;
-            if ( organisationUnit != null )
-            {
-                orgunits.add( organisationUnit );
-            }
-
-            //TODO re-implement using TrackedEntityInstanceService.getTrackedEntityInstances( TrackedEntityInstanceQueryParams )
-            
-            //total = patientService.countSearchTrackedEntityInstances( searchTexts, orgunits, null, ProgramInstance.STATUS_ACTIVE );
-            this.paging = createPaging( total );
-            //patients = patientService.searchTrackedEntityInstances( searchTexts, orgunits, null, null, ProgramInstance.STATUS_ACTIVE,
-            //    paging.getStartPos(), paging.getPageSize() );
-
-            if ( !searchBySelectedOrgunit )
-            {
-                for ( TrackedEntityInstance patient : patients )
-                {
-                    mapPatientOrgunit.put( patient.getId(), getHierarchyOrgunit( patient.getOrganisationUnit() ) );
-                }
-            }
-        }
-
-        return SUCCESS;
-    }
-
-    // -------------------------------------------------------------------------
-    // Supportive methods
-    // -------------------------------------------------------------------------
-
-    private String getHierarchyOrgunit( OrganisationUnit orgunit )
-    {
-        String hierarchyOrgunit = orgunit.getName();
-
-        while ( orgunit.getParent() != null )
-        {
-            hierarchyOrgunit = orgunit.getParent().getName() + " / " + hierarchyOrgunit;
-
-            orgunit = orgunit.getParent();
-        }
-
-        return hierarchyOrgunit;
-    }
-}

=== modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-sms/src/main/resources/META-INF/dhis/beans.xml	2013-12-17 09:33:58 +0000
+++ dhis-2/dhis-web/dhis-web-sms/src/main/resources/META-INF/dhis/beans.xml	2014-05-15 03:44:47 +0000
@@ -21,8 +21,4 @@
     class="org.hisp.dhis.sms.outcoming.ProcessingSendSMSAction" 
     scope="prototype"/>
 
-  <bean id="org.hisp.dhis.sms.outcoming.SearchPatientAction" 
-    class="org.hisp.dhis.sms.outcoming.SearchPatientAction"
-    scope="prototype" />
-
 </beans>

=== modified file 'dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml	2014-04-30 08:07:40 +0000
+++ dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml	2014-05-15 03:44:47 +0000
@@ -51,12 +51,6 @@
       <param name="requiredAuthorities">F_MOBILE_SENDSMS,F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
     </action>
 
-    <action name="searchRegistrationPatient" class="org.hisp.dhis.sms.outcoming.SearchPatientAction">
-      <result name="success" type="velocity">/content.vm</result>
-      <param name="page">/dhis-web-sms/patientRegistrationList.vm</param>
-      <param name="requiredAuthorities">F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
-    </action>
-
     <action name="sendSMS"
       class="org.hisp.dhis.sms.outcoming.ProcessingSendSMSAction">
       <result name="success" type="velocity-json">../dhis-web-commons/ajax/jsonResponseSuccess.vm</result>