cleanup[3/6]: do not save the userid any more

Do not save the to be deleted prefences any more.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2018-09-11 15:29:26 +02:00 committed by Dirk Hohndel
parent 3c8506e1b8
commit cc72a606bb
2 changed files with 0 additions and 11 deletions

View file

@ -561,9 +561,6 @@ void save_dives_buffer(struct membuffer *b, const bool select_only)
put_format(b, "<divelog program='subsurface' version='%d'>\n<settings>\n", DATAFORMAT_VERSION);
if (prefs.save_userid_local)
put_format(b, " <userid>%30s</userid>\n", prefs.userid);
/* save the dive computer nicknames, if any */
call_for_each_dc(b, save_one_device, select_only);
if (autogroup)