summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-03-10 13:17:49 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-03-11 12:11:10 +0100
commit13c32def5471356907c4c6f3985f5c5fc7ef6406 (patch)
treec647b77eeab346f12ecb5b8487eee9796bafb4ac
parent5fc671f29678a550fb7288dd49a92bb7ecd0095d (diff)
downloadmullvadvpn-13c32def5471356907c4c6f3985f5c5fc7ef6406.tar.xz
mullvadvpn-13c32def5471356907c4c6f3985f5c5fc7ef6406.zip
Remove unused version field
-rw-r--r--mullvad-daemon/src/version_check.rs1
-rw-r--r--mullvad-types/src/version.rs4
2 files changed, 0 insertions, 5 deletions
diff --git a/mullvad-daemon/src/version_check.rs b/mullvad-daemon/src/version_check.rs
index 65b960a7b1..754509b407 100644
--- a/mullvad-daemon/src/version_check.rs
+++ b/mullvad-daemon/src/version_check.rs
@@ -227,7 +227,6 @@ pub fn load_cache(cache_dir: &Path) -> AppVersionInfo {
// If we don't have a cache, start out with sane defaults.
AppVersionInfo {
current_is_supported: true,
- current_is_outdated: false,
latest_stable: PRODUCT_VERSION.to_owned(),
latest: PRODUCT_VERSION.to_owned(),
}
diff --git a/mullvad-types/src/version.rs b/mullvad-types/src/version.rs
index e4023ebb36..5cb66fd50e 100644
--- a/mullvad-types/src/version.rs
+++ b/mullvad-types/src/version.rs
@@ -15,10 +15,6 @@ pub struct AppVersionInfo {
/// issues, so using it is no longer recommended.
/// The user should really upgrade when this is false.
pub current_is_supported: bool,
- /// True if there is a newer version that contains any functional differences compared to the
- /// running version. User should upgrade if they want the latest features and bugfixes.
- /// DEPRECATED
- pub current_is_outdated: bool,
pub latest_stable: AppVersion,
/// Equal to `latest_stable` when the newest release is a stable release. But will contain
/// beta versions when those are out for testing.