From 59526e948aea42b977a3976293fbfdfe561dec97 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Jan 2018 18:03:28 +0100 Subject: Remove cloud_background_sync preferences option The preferences flag cloud_background_sync used to be used heavily in the mobile code, but is not used there anymore. Now, it is accessed only in one place, but does not do what it actually says: If it is off, the remote storage is not synced on save (but will be synced on next load). Syncing on save can also be prevented by unchecking the "Cloud online" menu checkbox. Since the latter seems more logical and general (support for non-cloud remote git repositories), remove the cloud_background_sync option. Signed-off-by: Berthold Stoeger --- core/pref.h | 1 - 1 file changed, 1 deletion(-) (limited to 'core/pref.h') diff --git a/core/pref.h b/core/pref.h index 6c06f5669..9f7192ca3 100644 --- a/core/pref.h +++ b/core/pref.h @@ -145,7 +145,6 @@ struct preferences { const char *cloud_storage_email_encoded; bool save_password_local; short cloud_verification_status; - bool cloud_background_sync; geocoding_prefs_t geocoding; enum deco_mode planner_deco_mode; short vpmb_conservatism; -- cgit v1.2.3-70-g09d2