Skip to content
Snippets Groups Projects
Commit 29740f6c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Use the common ini formatting for writing avatar data

(just a cosmetic change)
parent 657c6dc0
No related branches found
No related tags found
No related merge requests found
......@@ -129,6 +129,9 @@ function enable_localuser(usernum, enabled)
else {
obj.disabled = !enabled;
obj.updated = new Date();
file.ini_key_prefix = '\t';
file.ini_section_separator = '\n';
file.ini_value_separator = ' = ';
result = file.iniSetObject("avatar", obj);
cache_set(usernum, obj);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment