Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 11ec0a0

Browse files
author
barnabartha
committed
SORMAS-Foundation#2564 - fix syncing of contacts to app - remove not needed parts
1 parent 0a8fb4e commit 11ec0a0

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

sormas-app/app/src/main/java/de/symeda/sormas/app/backend/common/DatabaseHelper.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,8 +1546,6 @@ public void onUpgrade(SQLiteDatabase db, ConnectionSource connectionSource, int
15461546
getDao(MaternalHistory.class).executeRaw("UPDATE maternalHistory SET changeDate = 0 WHERE changeDate IS NOT NULL;");
15471547
getDao(PortHealthInfo.class).executeRaw("UPDATE portHealthInfo SET changeDate = 0 WHERE changeDate IS NOT NULL;");
15481548
getDao(Location.class).executeRaw("UPDATE location SET changeDate = 0 WHERE changeDate IS NOT NULL;");
1549-
getDao(Event.class).executeRaw(
1550-
"UPDATE events set srcType='HOTLINE_PERSON' where length(ifnull(srcFirstName,'')||ifnull(srcLastName,'')||ifnull(srcTelNo,'')||ifnull(srcEmail,'')) > 0;");
15511549

15521550
// ATTENTION: break should only be done after last version
15531551
break;

sormas-backend/src/main/java/de/symeda/sormas/backend/clinicalcourse/HealthConditionsService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,4 @@ public Predicate createUserFilter(CriteriaBuilder cb, CriteriaQuery cq, From<Hea
2626
// A user should not directly query for this
2727
throw new UnsupportedOperationException();
2828
}
29-
30-
@Override
31-
public Predicate createChangeDateFilter(CriteriaBuilder cb, From<?, HealthConditions> from, Timestamp date) {
32-
return greaterThanAndNotNull(cb, from.get(AbstractDomainObject.CHANGE_DATE), date);
33-
}
3429
}

0 commit comments

Comments
 (0)