mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
62a8bc7391
commit
226161ee44
3 changed files with 4 additions and 20 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue