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

Rename system.last* to system.last_*, leaving old names as aliases

... to make property names more consistent (e.g. with bbs.last_node).
The old names (without the underscores) are still usable but won't appear
in JSDOCS (i.e. jsobjs.html).
parent fbf99ab6
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3946 passed
......@@ -414,15 +414,18 @@ static jsSyncPropertySpec js_system_properties[] = {
{ "deldays", SYS_PROP_DELDAYS, SYSOBJ_FLAGS, 310 },
{ "autodel", SYS_PROP_AUTODEL, SYSOBJ_FLAGS, 31702 },
{ "lastuser", SYS_PROP_LASTUSER ,SYSOBJ_FLAGS, 311 },
{ "lastuseron", SYS_PROP_LASTUSERON ,SYSOBJ_FLAGS, 310 },
{ "last_user", SYS_PROP_LASTUSER ,SYSOBJ_FLAGS, 311 },
{ "lastuser", SYS_PROP_LASTUSER ,JSPROP_READONLY, 311 }, /* alias */
{ "last_useron", SYS_PROP_LASTUSERON ,SYSOBJ_FLAGS, 310 },
{ "lastuseron", SYS_PROP_LASTUSERON ,JSPROP_READONLY, 310 }, /* alias */
#endif
{ "freediskspace", SYS_PROP_FREEDISKSPACE ,SYSOBJ_FLAGS, 310 },
{ "freediskspacek", SYS_PROP_FREEDISKSPACEK ,SYSOBJ_FLAGS, 310 },
#ifndef JSDOOR
{ "nodes", SYS_PROP_NODES, SYSOBJ_FLAGS, 310 },
{ "lastnode", SYS_PROP_LASTNODE, SYSOBJ_FLAGS, 310 },
{ "last_node", SYS_PROP_LASTNODE, SYSOBJ_FLAGS, 310 },
{ "lastnode", SYS_PROP_LASTNODE, JSPROP_READONLY, 310 }, /* alias */
{ "newuser_password", SYS_PROP_NEW_PASS ,SYSOBJ_FLAGS, 310 },
{ "newuser_magic_word", SYS_PROP_NEW_MAGIC ,SYSOBJ_FLAGS, 310 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment