Skip to content
Snippets Groups Projects
Commit 723197e4 authored by deuce's avatar deuce
Browse files

Add note to user.get_time_left() documentation that you likely want

bbs.get_time_left() instead.
parent e2527c8a
Branches
Tags
No related merge requests found
......@@ -1269,7 +1269,8 @@ static jsSyncMethodSpec js_user_functions[] = {
{"get_time_left", js_get_time_left, 1, JSTYPE_NUMBER, JSDOCSTR("start_time")
,JSDOCSTR("Returns the user's available remaining time online, in seconds,<br>"
"based on the passed <i>start_time</i> value (in time_t format)<br>"
"Note: this method does not account for pending forced timed events")
"Note: this method does not account for pending forced timed events"
"Note: for the pre-defined user object on the BBS, you almost certainly want bbs.get_time_left() instead.")
,31401
},
{0}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment