diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-09-11 14:39:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 15:38:20 -0700 |
commit | 226161ee44b17469c83fb414f5a38f347af42417 (patch) | |
tree | 78be82051fa50825eaa0f16f558fbdc6874b166d /core/parse.c | |
parent | 62a8bc73911ec70de3182126cd2bc013226de6e6 (diff) | |
download | subsurface-226161ee44b17469c83fb414f5a38f347af42417.tar.gz |
cleanup[1/6]: do not set userid/save_userid_local from storage
This the first of a set of cleanups related to the removal of 2
preferences: save_userid_local and userid. The commits are
ordered so that a sane running state remains, should a
bisect ever lands here.
Here, just read a git or XML logbook including the to be removed
preferences, as existing users can have this data sitting around.
The only thing done here is not to store the possibly read data
for the mentioned preferences.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/parse.c')
-rw-r--r-- | core/parse.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/parse.c b/core/parse.c index 690b4d29a..46c041925 100644 --- a/core/parse.c +++ b/core/parse.c @@ -400,12 +400,6 @@ void divecomputer_end(void) void userid_start(void) { in_userid = true; - //if the xml contains userid, keep saving it. - // don't call the prefs method here as we don't wanna - // actually change the preferences, this is temporary and - // will be reverted when the file finishes. - - prefs.save_userid_local = true; } void userid_stop(void) |