summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-11 15:29:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 15:38:20 -0700
commitcc72a606bb9a64a0d251e06c19cf8b8dd7b131ed (patch)
tree584749a9b9d15e9d1d5088d8f222ebbcbb3beefe /core/save-xml.c
parent3c8506e1b8d5febc396c8df6bd806ffa36f8fcdc (diff)
downloadsubsurface-cc72a606bb9a64a0d251e06c19cf8b8dd7b131ed.tar.gz
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>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index fea2b1430..653c1f298 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -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)