diff --git a/dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/export/enrollment/DefaultEnrollmentService.java b/dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/export/enrollment/DefaultEnrollmentService.java index fdf75a39ccc4..920f19e00759 100644 --- a/dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/export/enrollment/DefaultEnrollmentService.java +++ b/dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/export/enrollment/DefaultEnrollmentService.java @@ -216,8 +216,7 @@ private List getEnrollments( Iterable enrollments, EnrollmentParams params, boolean includeDeleted, - OrganisationUnitSelectionMode orgUnitMode) - throws ForbiddenException { + OrganisationUnitSelectionMode orgUnitMode) { List enrollmentList = new ArrayList<>(); User user = currentUserService.getCurrentUser();