mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 21:28:49 +00:00
Application: remove a couple of old database migrations
This commit is contained in:
parent
17727a1e3a
commit
afdd237cca
1 changed files with 0 additions and 12 deletions
|
@ -91,18 +91,6 @@ public class Application extends android.app.Application {
|
||||||
for (final File file : getFilesDir().listFiles(filter))
|
for (final File file : getFilesDir().listFiles(filter))
|
||||||
file.delete();
|
file.delete();
|
||||||
|
|
||||||
// 2021-09-18: migrate SBB to use RT
|
|
||||||
final String SBB = "SBB";
|
|
||||||
migrateSelectedNetwork(SBB, NetworkId.RT);
|
|
||||||
FavoriteStationsProvider.deleteFavoriteStations(this, SBB);
|
|
||||||
QueryHistoryProvider.deleteQueryHistory(this, SBB);
|
|
||||||
|
|
||||||
// 2022-09-12: migrate PL to use RT
|
|
||||||
final String PL = "PL";
|
|
||||||
migrateSelectedNetwork(PL, NetworkId.RT);
|
|
||||||
FavoriteStationsProvider.deleteFavoriteStations(this, PL);
|
|
||||||
QueryHistoryProvider.deleteQueryHistory(this, PL);
|
|
||||||
|
|
||||||
// 2023-01-09: migrate VMS to use VVO
|
// 2023-01-09: migrate VMS to use VVO
|
||||||
final String VMS = "VMS";
|
final String VMS = "VMS";
|
||||||
migrateSelectedNetwork(VMS, NetworkId.VVO);
|
migrateSelectedNetwork(VMS, NetworkId.VVO);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue