Revert "StationDB - hack to force QRV database update despite "correct" timestamp"

This reverts commit 61a9d160fa.
stationdb_debug
Alexander Kurpiers 2024-06-10 20:51:59 +02:00
rodzic 0733419366
commit 320a1af5a7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -427,7 +427,7 @@ namespace ScoutBase.Stations
this.ReportProgress(0, "Updating qrv info from web database...");
// get update from url
GetUpdateFromURL(Properties.Settings.Default.Stations_UpdateURL + "qrv.zip", Path.Combine(TmpDirectory, "qrv.zip"), Path.Combine(TmpDirectory, "qrv.json"));
if (HasDatabaseChanged() || HasQRVUpdateChanged() || StationData.Database.QRVCount() == 0)
if (HasDatabaseChanged() || HasQRVUpdateChanged())
{
if (!ReadQRVFromURL(Properties.Settings.Default.Stations_UpdateURL + "qrv.zip", Path.Combine(TmpDirectory, "qrv.zip"), Path.Combine(TmpDirectory, "qrv.json")))
{